Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Having problems taking usb scanned data input into my vi along with gpib instrument data to save to file.

Gentlemen,

I have been trying to integrate the WT500 via gpib; taking instrument data and saving that to a spreadsheet file with headers. Because I have a different DUT each time I test I elected to be able to read the bar code into the vi (beginning of each row) below the main header.  I can't make that happen.  The scanned text comes in via usb fine, but it won't behave after that.  It appears it needs to be a string, otherwise it filters out all the alphabet characters and leaves numbers only.  That's a problem where I need both because I don't know how to combine those two in a array to be saved as shown as attached..  Further when I close this vi it won't save the headers assignments.  I have to retype them all over again.

 

Any suggestions would be appreciated.

 

Thanks,

Eric

0 Kudos
Message 1 of 3
(2,890 Views)

What about something like this for formatting?  For your enumeration options, you can pass in the property node strings[] instead if you do not wish to change them to an array of strings.

StringFormatOption.png

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 2 of 3
(2,856 Views)

I'll let you know if it works.

Thank you very much!

0 Kudos
Message 3 of 3
(2,853 Views)