From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-16-2021 11:25 AM
Vijay, most of us don't just upgrade to the latest LV version for work reasons, you can assume that majority of the audience have at least LV2016 installed, if you share any VI in the latest version, they CANNOT open it.
I would recommend saving the VI in 2016 so that a larger audience can open and provide feedback.
09-20-2021 10:54 AM
Hi,
Thank you so much for your reply. I am attaching my LV code of earlier version, could you please check and let me know your valuable suggestions on my code. Looking forward to hear from you soon.
Thanks
Vijay
09-20-2021 02:35 PM
Your implementation should be functional (implementation is simple enough for any VISA based read/write), the actual loop implementation could have been made efficient by using an event structure so that you don't perform read/write operations too frequently (some devices do not like that and may not keep up with providing replies).
Were you able to establish communication using Interactive VISA control? - https://zone.ni.com/reference/en-XX/help/370131S-01/ni-visa/interactivecontrolvisa/
09-21-2021 04:16 AM
Hi,
Yes with the help of "NI MAX2" and "Interactive VISA control" trying to establish a communication between Gaussmeter and PC. I am concerning about the code. Could you please check code, will it be possible to read data continuously with SCPI command via RS232 with my code.
Thanks
Vijay
09-21-2021 04:16 AM
Hi,
Yes with the help of "NI MAX" and "Interactive VISA control" trying to establish a communication between Gaussmeter and PC. I am concerning about the code. Could you please check code, will it be possible to read data continuously with SCPI command via RS232 with my code.
Thanks
Vijay
09-21-2021 09:07 AM
Hi,
I am trying to establish a communication between gaussmeter and pc with RS232. I have installed the RS232 driver information (CD) on my PC. When I opened the NI max, its not detecting the device just its showing something has connecting but not the exact device. I have done NI troubleshoot for your reference I am attaching the figures. Could anyone please assist me regarding the NI MAX.
Thanks & Regards
Vijay
09-21-2021 09:16 AM
09-21-2021 09:16 AM
Hi Vijay,
Looks like you opted to duplicate the topic on another board.
Anyway, RS232 shows up as COM port - that is good, beyond that, typically VISA tries *IDN? query to detect the instrument looks like the instrument did not respond back to that command.
Have you verified that the RS232 cabling or convertor you use is functional? Does your device come with any software to test with?
I would suspect that the TX and RX might have been swapped.
09-21-2021 09:18 AM
An instrument MUST BE IEEE488.2 compliant for NI-MAX to identify it.
Because NI-MAX uses the IEEE 488.2 common command #IDN? to identify instruments.
So your device will probably not show up anything but a Com port.
You can give your instrument a VISA Alias to make it "show up" as something you recognize in NI-Max and the VISA resource drop downs in LabVIEW
10-05-2021 05:05 AM
Hi Santhosh,
Thank you so much for your reply, I was trying to communicate directly with RS232 cable (Gaussmeter to PC). Since, I have read the Gaussmeter IGM11 manual, I got to know that I have to use Null modem cable for direction communication to computer. Actually, I was trying to communicate directly with RS232 cable without using Null modem cable. Does it the reason for not detecting the device.
"Could you please let me know do I need to use Null modem cable+RS232 cable"?
Yes, the device come up with software to test with Ethernet and US. It works and getting connected with those interface. I am concern about RS-232 cable since I have to send SCPI commands to read continuous data from the Gaussmeter so that's why I preferred to use VISA.
Could you please let me know your response. Looking forward to hear from you soon.
Thanks
Vijay