Hi, Dennis Knutson
Since it is a IVI tyep dirver, i want to know how to install this type dirver, so that i can use it. If i only copy files into labview, I am
afraid of it cannot be used. I had tried its a example vi and cannot communication with my instrument through serial cable, but the
commnucation is ok in MAX. So I think maybe i must install it with a IVI driver before i can use it.
No, as already mentioned, the only thing you need to install is the IVI Compliance Package.
Did not notice that you were using RS232. Did you not see the notes on the driver download page that it only supports GPIB? If you have a copy of LabWindows/CvI and if there is source code provided, you can modify the driver to work with RS-232.
The driver on NI's web page (IDNet) doesn't seem to include LabVIEW files and it supports only the GPIB interface:
If you have downloaded the driver from Chroma's web site, you should ask them to provide the correct LabVIEW files.
Another option would be to download and install the driver provided on IDNet and then create LabVIEW files yourself using the LabVIEW Instrument Driver Import wizard:
From Ni driver page, i notice that only support GPIB, but i am not sure about it and wish it can support RS232.
From that page, only labwindows/cvi version is provided. I use LabVIEW Instrument Driver Import Wizard to
create labview driver, but it cannot communicate with device. So both driver from NI page and chroma page
have the same result.
In MAX,*IDN?\n can get response. I create a logical name and sessions for my DC under IVI drivers in MAX,
import dll. Then call a initialize.vi and input local name as resource name, DC screen can display "RMT", it seem
that they can receive command, but at last, timeout error will report. I don't find a place to set timer and don't
know how to handler too. I must use logical name, instead of COM1, right? very confused.
please keep on your help, very appreciated.
If i use
Using the import wizard will not magically modify the dll to add serial support. The driver you posted seems to have been created with the wizard. I assumed you had done the conversion.
It's a power supply, correct? The programming for it could not be that complex. Write your own.
I use import wizard on driver download from ni website. I post the driver donwloaded from web.
I don't have experience about writing a dirver. 😞
ok. I will try to do it if i have time.
There are about 25 test items that i have to finish on time. ;(
I had asked chirma for help too.
thank your support very much.
DO you know how to get VISA resouce name in program. Just in a dropdwon list, I don't know
whether i can get USB resource name dynamically.
Maybe i should ask in another thread.