04-09-2015 07:19 AM
Hi Crossrulz
I have downloaded Keithley 24XX meter driver and NI VISA 14.0.1. I have installed NI VISA 14.0.1 but have no idea what to do with Keithley 24XX meter driver.
What to do next?
Thanks
Sunil
04-09-2015 07:28 AM
@sunil75 wrote:
Hi Crossrulz
I have downloaded Keithley 24XX meter driver and NI VISA 14.0.1. I have installed NI VISA 14.0.1 but have no idea what to do with Keithley 24XX meter driver.
What to do next?
Thanks
Sunil
Like I said, there should be an example in there. Find it and study it.
04-09-2015 07:44 AM
04-09-2015 08:16 AM
I have established connection between keithley 2401 and lab view.
When I run an example VI 'Keithley 24XX' Rea Single, I am getting an error :
'Error -1073807346 occurred at VISA Write in Keithley 24XX.lvlib:Error Query.vi->Keithley 24XX.lvlib:Configure Measurement.vi->Keithley 24XX Read Single.vi'
'Possible reason(s):
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.'
How to fix this problem?
04-09-2015 08:31 AM
04-09-2015 08:46 AM
I am using RS-232 with plug and play drivers. I made the connection and selected COM in visa resource name
Still I am getting error.
Any suggestions
Thanks
04-09-2015 09:19 AM
04-10-2015 05:20 AM
Thanks guys. it is working now. There was some issue with the termination character.
04-10-2015 08:52 AM
Hi CollindWit!
So, today I got my usb adapter RS-485. I tried som examples but I can't get it to work. I have installed drivers for the adapter and selected the right com port in the visa resource name. The device that I want to connect with has the same baud rate as the usb-adapter.
I have tried using the VISA Interactive control and done some test with the write function with *IDN?\n command. When i write this I get a green lamp blinking om my usb-adapter and a return count of 6 bytes. But when I'm testing the read function I get: VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
What am I missing?
My power meter has alot of different menus that you can access, but I just want information on 2 or 3 to log the data in real time. I know that I have to write a adress to the device to access the right menu and then read the data that I'm receving.
Do I do this in the wrtite buffer in the visa write function, is there a special way that you have to write it? In the device protocol there is different adress for accessing diffrent menus. For example if I want to access sum of power the the modicom adress is 300051, the physical adress is 0032h and the word length is 2.
Can VISA read/write function only work with inputs of ASCII or can I write the address above in the write buffer directly or is there something else you have to do first?
It seems that the adapter is working and the serial com port aswell, but I cant find a way to speak with my device, what I'm I doing wrong?
I'm attaching the program that I have tried to use.
Best regards Maurlind!
04-10-2015 09:05 AM