The Call Library Function Node does not support structures (see Labview help). The easiest way to get the unit info is to use usb_get_formatted_info, passing a string for the unit info.
Also, when you are setting up the Call Library Function Node, for info set minimum size to string_length.
so usb_get_formatted_info function can be a quick solution
Unfortunately I don't have the hardware here to test... but I thought
that I ever tryed this... but if you say me it works I believe what your
are saying.
I also wonder what is the difference between stdcall (WinAPI) and C call
Yes, you could use a wrapper to handle the structure (we have done this with the PicoScope 5000 logic triggering). However, it is simpler to use usb_get_formatted_info.
I'm sorry... I've now the hardware in my hand... but I still get an empty string....
I've change unit_info string size to "string_length" but it still fails !
I also change string_size from 0 to 256... the DLL call fails
If you have an example which is running fine I would be very interessted
I have installed the drivers for the Serial TC-08 in LabVIEW and cannot figure out how to set up LabVIEW for proper functionality of the device. I want to read a range of temperatures and then put the data in a spreadsheet.
I am new to LabVIEW, which I know does not help, but after seeing that more experienced users had trouble expanding on the limited VIs provided by Pico, I think I would do well with a past example from what someone else has tried in LabVIEW.
Is there a way I can get access to the example files posted by other users on this forum or some other example file? If you do not have any Serial example files, perhaps the USB files bear some resemblance?