07-13-2018 11:25 AM
Dear All,
Attached is the image I have of my code so far. The code is really simple, all it does is connect the instrument I am using,the 34970A, with Labview, I then use it to read temperatures. Problem is, I do not want to display the temperature in Labview, I want to display it on my instrument. For example, when I run the program, it should immediately display the temperature on Labview. Does anyone know a solution or is willing to give me a hint on how to tackle this problem.
07-13-2018 11:41 AM
@Rayzab wrote:
Dear All,
... I do not want to display the temperature in Labview, ... it should immediately display the temperature on Labview.
What's the difference between "in" LabVIEW and "on" LabVIEW?
07-13-2018 11:58 AM
I should be more clearer, I want to display the temperature on my instruments screen, instead of on the front panel on Labview
07-13-2018 12:17 PM
Just do the read. Nothing says you have to put that value on your VI's front panel. The instrument should show its latest measurement.
07-13-2018 01:44 PM
I tried doing the read and it did not work, the way my instrument works is when I push a button on the instrument, it displays the temperature. I want to run the Labview Program, the program will then call the instrument and the instrument will display the temperature. I do not want Labview to display anything on its panel, I only want it to run the instrument for me. Is there a hint you can give me regarding that?
07-13-2018 02:17 PM - edited 07-13-2018 02:17 PM
You almost had it!
Using that EZ temperature VI you read all channels as quickly as possible, and build up an array of readings. There's no way to slow down and display each reading. And why would you want to?
But you can use the Display VI to "playback" the readings one at a time, by looping through the array like this..
Craig
07-13-2018 02:41 PM - edited 07-13-2018 02:54 PM
First of all DO NOT USE THE EZ-CONFIG!!! You can NOT display measurements on the instrument itself if you use the EZ-Config vi's
You have to use the advanced configuration VI's to configure your measurements and scan list
Trigger a scan when you want to take a measurement.
Once you have the channels properly configured use the "monitor vi" to select the channel you want displayed on the instrument
07-13-2018 02:51 PM
In this thread I show an example of how to properly configure the 34970(2)