LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2700 each channel as a column in output?

I've been struggling with this for a while now. There's another thread or two about this here, but I can't see that they were resolved. 

 

I'm reading two channels from our Keithley 2700 (Ch 105 & 106), doing a little math on the resistance values retrieved (resistance -> temperature, they're each reading resistance of a PRT), and saving the data to a file. 

 

I need to scan between these two channels, correctly determine which channel I'm currently getting a resistance value from, route the resistance to the appropriate conversion equation, then save that output to a file.

 

Ideally the output file would be formatted something like:

Reading#     Ch105     Ch106

0                     71.345    72.012

1                     71.368    71.904

...

 

I don't care about when the measurements were taken, I just a record of the temperature of both channels until I click "Stop."

 

So far, I can scan through the channels, and I think it's correctly routing to the correct equation, but the output is formatted:

 

Reading#     Data        Comment

0                     71.345    105

1                     72.012 

2                     71.368

3                     71.904

 

I'm aware that that's exactly what I've told it to do, however I don't understand how to edit this VI to get what I want. Any help would be **greatly** appreciated.

 

 

 

vi.JPG

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

Hi clegett,

 

If I am reading everything correctly, it looks like the output is just an interlaced 1D array. If you want to change the headings of the measurement file, I would use the Set Dynamic Data Attributes express VI to change the titles. To do this, you will probably have to rebuild the array as a 2D array and then use that in the convert to dynamic data VI. I have included a screenshot of this, and the for loop is just to automatically generate the names for each channel.

 

 

rename_signals.png

Justin M.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,396 Views)