06-04-2013 11:33 AM
Dear
I am Nicola PhD student , I bought a pyrometer Micro-Epsilon thermoMeter, the instrument give a output 0-5 V, it is able to measure the temperature between 100 -1000 C, I connect with the desktop by USB cable. My aim is determinate the temperature measure with Labview in real time.
I try to use the VISA to comunicate with the sensor, but always give a error -1073807339, and not show the current temperature.
someone can you help me?
contact n.fois@sheffield.ac.uk
06-04-2013 11:42 AM - edited 06-04-2013 11:44 AM
Are you sure that the port configuration values are correct? Is the error in the "error out intermediate" indicator? If it's not, try increasing the timeout, or put a wait between your VISA send and receive, to give your device time to respond.
06-05-2013 01:33 AM
It would be helpful to name the type of sensor, provide a link to a datasheet (even better a link to the document for the communication)
Seems that the meter USB port is FTDI based and provide a serial port......
And the USB connection can't read the 0-5V analog voltage output 😉 but maybe the value is already in digital format 🙂
06-05-2013 01:56 AM
Can you post the VI with 2011 compatibility.
The error what you are getting is timeout error which means if you haven't connected to input timeout in VISA config then operation(i.e. write and read) expected to complete in 10s(default) but its not happening.
Post the VI, will deal with it.
Thanks
06-05-2013 11:34 AM
Dear all, thanks for the fast answer
jcarmody :the configuration of the port I hope it is correct, because the software look like find something, the sensor.
Henrik_Volkers I attached the datasheet of the sensor, pp3 I have the one with range 150 -1000 C.
Ranjeet_Singh I change the timeout input, but still not working, i attached a screen shot of the block diagram, I think
is not possible to save in previous version,,
thanks
Nicola
06-06-2013 02:08 AM
One small change: The init serial needs to be outside the loop , and you should read all data , I attached a mod.
If you have a link to the protocoll more help is possible.
06-06-2013 10:35 AM
Hi
thanks
now it not give error anymore.
In my case the sensor is direct connect with the laptop by USB, I hope, it is possible way with these sensor.
now from VISA read, i have an array output, how can I convert this volt/bit in temperature value, and also is it possible to plot the temperature against the time.
how do you suggest to do?
I also attach the catalogue of the sensor, about connect and output.
many thanks
Nicola
06-06-2013 01:40 PM
Sorry, but in the document you attached I found NO information about the protocol and data formats used. Why did you post it?
@WAVESAVE wrote:
now from VISA read, i have an array output, how can I convert this volt/bit in temperature value, and also is it possible to plot the temperature against the time.
how do you suggest to do?
Post the data format 🙂
and as homework for the weekend: Do the LabVIEW tutorials 😄 Look at the examples about graphs and sharts!
06-07-2013 06:34 AM
Hi
Thanks
The data protocol , I do not know how find, what do you mean exactly.
I do not understand very well the read buffer, the read buffer should be the data obtain from the sensor, so the value of the temperature, then I convert in array bit value, then from bit I need to determinate the real value in temperature.
Also I do not understand why the value from the read buffer it`s always the same when the temperature value read from the sensor change.
Do you think I need to convert the read buffer in another way?
Thanks
Nicola
06-10-2013 04:40 AM
How about picking up the phone and ask the manufactor?