LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving VME data...

I am using Labview 6i to control and hopefully save data from a 32 channel QDC on a VME crate. I am able to read from the device but I am unable to successfully save any data from this action. The VME Read function/VI is placed in a True/False window, and I am attempting to use the save-to-spreadsheet VI outside of the loop - but I only receive the default constant placed in the False loop...Any reason why I cannot save the data being read from the VME bus? I can even view the data being read on screen, such as a data acknowledged hex number, but no solution which can save this data. The number being displayed is an unsigned 32 bit integer. Is there a standard process for VME data acquisition using a VME-PCI card for Labview? Any help would be greatly
appreciated.
0 Kudos
Message 1 of 2
(2,432 Views)
Post an example of your code would help, but in the meanwhile I will guess.

It sounds like you are not saving your data until after you exit the loop.

This can be done a number of ways. I would suggest you use a shift register to save your data from one iteration to the next. In your TRUE case, use a build array to add the new data to the shift register. In the false case, just pass the shift register contents through without modifications.

This should allow you to pile up all your data until the end when it is time to write.

This is not the most elegeant way of doing this task (i.e. large data collection sets will quickly fill memory) but it should get you started.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(2,432 Views)