07-23-2014 02:45 AM - edited 07-23-2014 02:48 AM
p.s. sorry for Bold text, I don't know why I can't change it.
Solved! Go to Solution.
07-23-2014 04:15 AM - edited 07-23-2014 04:15 AM
I found a problem, but no solution yet. It is in VISA OPEN command. Resource CLASS is set to 'I/O instr" but device needs "USB RAW" it seems. It is a complex program built for different devices and as far as I understand "INSTR" wire class is the most general and may be adapted for other types. I managed to open the instrument but the rest of the program is failing then
07-23-2014 04:27 AM
Just guessing:
Right click on the constant or resource name control for the device --> Select VISA Class --> USB RAW
07-23-2014 05:09 AM
no, i tried that, then the rest of the program doesnt work.
I found a partual solution , instead of manually selecting device, I inserted device info "USB0::0x0BD3::0x0334::NI-VISA-10001::RAW" straight to VISA OPEN. Now it opens, but does not stream data...
07-23-2014 05:14 AM
Stream data does it work for your earlier version ?
Try out to share your code, it might help
BR,
Vincent
07-23-2014 05:56 AM - edited 07-23-2014 06:02 AM
yes, data streaming works for earlier version. I found a problem.
"Fract/Exp string to value" function does not work. I have 'Value string' type data, it looks like this when I probe it - "*0.346" for example. String contains correct values, same that I see on power meter. But converting it to number using "Fract/Exp string to value" gives 0 all the time. I guess I'm really near to fixing my problem. I won't include my code, since it is not really mine, it's official from Ophir.
I don't understand how can it work with other laptop and not with this.. I hope it will work on other lab's PCs.
07-23-2014 06:09 AM
I got it to work, just needed to change "Fract/exp String to value" "use system decimal point" to false.
Thanks for help and good will.
04-19-2017 11:29 AM
I am getting the same error while communicating with the vega power meter. I registered the dll and ocx from the startlabs2.4 exe. Also I used swipinf file to register the USB.
Is there anything else we need to set up?
Thanks in advance!
Anna
04-21-2017 01:11 PM
@Annapoorani wrote:
I am getting the same error while communicating with the vega power meter. I registered the dll and ocx from the startlabs2.4 exe. Also I used swipinf file to register the USB.
Is there anything else we need to set up?
Thanks in advance!
Anna
I am sorry, I really do not remember anything on this matter.
Try the method which I described in the last comment..