Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

collecting data from power supply!

Dear All

 

I have Labivew program whcih includes programmable power supply , pressure  and temeprature sensors...! .  The power supply is communicated with RS232 and i have to log and save data from the power supply  in the same excel or .csv data with sensor data. But when  i collect data from power supply (current, power and volatge ) and pressure sensors, the data from the power supply looks missed up.  The first collected sampled data is in the bottom row while the last  collected sampled data is in the upper row of the CSV,or Excel sheet .  The data from the external sensors are correctly saved.

 

Is there any one who can help me why the ordered of the collected data from the power supply  reverses from the normal.

 

 

Thx

0 Kudos
Message 1 of 4
(3,188 Views)

Attach your VI.

0 Kudos
Message 2 of 4
(3,182 Views)

Dear Dennis

 

Here i have attached my VI.

 

Thank you very much for your help!

0 Kudos
Message 3 of 4
(3,164 Views)

That would be because you add the values to the beginning of the arrays and not the end.-  A few tips-

  • Try to keep yopu diagrams neat and tidy so they are easier to maintain
  • Use tunnels with indexing enabled to build output arrays from loops.  I keeps the diagram neater UNLESS you need to optomize performance! I this case you don't
  • Use Scales for tasks.  It improves readability and provides a indication of what the values mean

!bad.png

 

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(3,138 Views)