Data column error with LJStreamUD | LabJack
 

Data column error with LJStreamUD

8 posts / 0 new
Last post
jonah
jonah's picture
Data column error with LJStreamUD

Hi - I'm running LJStreamUD 1.19 in VMWare on a Mac (using a U3-LV) and I find that sometimes the data columns are transposed in the output data file.  I am storing 3 channels at 5kHz in a 1MB file.  One of the channels is a square wave and the others are analog.  The square wave data is on channel 3 (FIO2) but sometimes in the saved file it shows up in column 2.  Luckily that makes my data processing script throw an error, or else I might never know that my channel data was swapped.  Has anyone else seen this issue, and have ideas how to fix it?

Thanks, 

Jonah

LabJack Support
LabJack Support's picture
Make sure you are using the

Make sure you are using the latest UD driver (3.50) and U3 firmware (1.46), and see if that helps. The latest Windows software installer is here:

https://labjack.com/support/software/installers/ud

Firmware can be updated with the LJSelfUpgrade application.

If that doesn't help, is this swap occurring after an auto-recovery (-9999 readings)? There was a fix in UD 3.49 relating to stream mode auto-recovery and channel order shifting.  Also, what stream settings are you using?

jonah
jonah's picture
Thanks for the quick reply.

Thanks for the quick reply.  I just purchased and installed this unit a couple of weeks ago, so I assume it's on the latest.  Is there a link on how to check my driver and FW version?  

After a little more debugging, I see that the swap also shows up in the traces of the LJStreamUD app, so it's not in the file writing.  I am stopping streaming after the file is written, so I haven't gotten to auto-recovery that I know of.   I'm attaching a screen grab of my stream settings. 

File Attachment: 
jonah
jonah's picture
Weird - just saved my reply,

Weird - just saved my reply, and it has disappeared.  Here it is again.

I purchased and installed this unit in the last couple of weeks, so I assume it's on the latest.  If there is a link showing how to check my versions I can do that.

I see now that the trace mix-up shows in the LJStreamUD app, so it doesn't have anything to do with the file writing.  I haven't seen auto-recovery.  I stop streaming after the file is written.  A stop and start will sometimes change the order of the traces.

I am attaching a screen grab of my settings.  Thanks.

File Attachment: 
LabJack Support
LabJack Support's picture
Open the LJSelfUpgrade

Open the LJSelfUpgrade application and next to Driver Version is the UD driver version. Choose the U3 as the Target processor and click Get Version Numbers to see the current firmware version it has. Our LJControlPanel application also displays the UD driver and U3 firmware version.

 

LabJack Support
LabJack Support's picture
If your U3-LV has firmware 1

If your U3-LV has firmware 1.46 and has the "swap" issue, try beta version 1.54:

https://labjack.com/support/firmware/u3/beta

Use LJSelfUpgrade with the hex file from the above page to upgrade the firmware.

jonah
jonah's picture
Apologies for the long delay

Apologies for the long delay - I got pulled onto another project.   I finally tried the beta version 1.54 (driver 3.50) and unfortunately I am still sometimes seeing column swap issues in LJStreamUD V1.19.

LabJack Support
LabJack Support's picture
Make sure your macOS and

Make sure your macOS and VMWare have the latest updates as well.

If that doesn't help, do you have a Windows computer to run StreamUD on with your settings? I am curious if this happens on a Windows computer for you, or only on Windows through VMWare on macOS.