i try to communicate to a pico data logger trough rs232. I write a labwindows/CVi programm including a pt104.lib and all links to activate line commands and functions.
if I check that I activate the pt-104-open-unit (1) (TRUE response) and pt104-set-channel (,,,), I have a trouble to get simply the pt 104 temperature value from the pt104-gat-value(&data,1,1,4) and a SetCtrlVal function to read the address. The return is always 0 (FALSE) and I do not see the problem. Definitions of types and variables seems to be ok. Do I have to write a count++ sequence before reading or something else to do ?
Is anybody has a simple program C labwindows/CVI to activate the driver and read the temperature or any idea to simply solve the trouble.