Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to see a plot of my measurements while I am recording.

My problem is I am measuring 1 to 6 channels at a time, depending how many samples I want to test. All data are saved in on string. How can I plot data that are saved in a string in real time while I am recording, so that I can follow my measurement?

 

Thank you for your help,

 

Hanna 

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

Convert the string to separate numbers. The Scan From String function can be used.

 

Without seeing the code and an actual string, can't really say much more than that.

 

 

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

Thank you so far, I still have some problems.

 

Attached is a screen shot of our block diagram. We are using a modified version of Advanced scan.vi for a Agilent 34970A system. To the original vi we added data acquisition storage and a loop for infinite measurements.

 

 We were trying to use a wavefunction graph and a Scan From String function to convert our signal. Unfortunately we can not see anything on our graph and also we need to plot data of several channels.

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

You did not attach a screen shot. You attached a proprietary file. Directly attach jpg or png files in the future or post the VI.

 

Of course you don't see anything on the graph. Each time you acquire something you write a single point to the graph. You do not keep a history of what you have written. Try using a chart. That is designed to have a single point written to it and keep a history. You will also have to verify that the string into the Scan From String function is being parsed correctly. Post the actual VI with some real data in a string indicator if you need help with parsing. You will have to use the edit menu and select 'Make Current Values Default' and then save the VI if you decide to post something with data.

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