unrecoverable error/ getting stated with myrio
Reconfigure VISA Serial Port after error detected
Hello,
I'm communicating with a watlow f4 with a rs232-> USB conversion cable
I'm using the VISA Configure Serial Port to create my base of communication with the watlow.
My program is working fine and doing what it needs to in terms of execution, but I'm trying stump out the last of my "what if X problem occurs while program is running"
Right now, the X (problem) i'm trying to resolve is
"what happens if someone accidently unplugs the watlow USB plug from the back of the PC that the application is running on?"
For now, I do have it sensing such an error, but I'm basically telling the user that the program will have to be restarted.
I would like to pause the program when this error has been detected (which I know how to do) and tell the user "please plug-in the serial COM USB back into the PC, select the COM port from the drop down list and press OK to resume program" (this is the part I can't figure out how to do)
How can I reset and re-initialize the VISA serial port after my program detects this error?
B&K Precision PS 9115 not detected
Hi All,
I have the B&K precision power supply 9115 connected to my laptop. I do not see the power supply in NI-MAX and device manager. I can connect to a keysight power supply through LabVIEW, that means I have the NI-VISA installed properly.
I am not sure why the B&K precision PS 9115 is not visible.
Any help is appreciated,
Yogesh
NI USB 8451 U2 Chip??
Hello Every one, I would like to know what component or chip was on the NI USB 8451 "U2" because it was damage and cause my NI USB broke., over supplied voltage. can anyone share me a site for schematic of the board or just give me the name/part number or what kind of chip is "U2" was. Thanks
CMU200 remote control over usb to rs232
Hello everyone,
I'm new to working with this kind of device and i have troubles just setting a simple serial link between my computer and the CMU200. I'm using a usb to serial cable in order to perform remote control. I currently use Debian Jessi as it is a constraint of my project and can't use windows to perform my task. My problem is that i tried communicating with the CMU200 using putty and when the connection opens i just got nothing. The putty terminal stays black and the CMU200 seems to receive nothing as the remote control is not triggered. I don't really know where it could come from, i've seen in my search that it coulb be a problem with the quality of the cable i'm using but i was wondering if anyone had a similar problem or if not, a recommended usb to serial cable.
Best regards
Continuous acquisition with TDS1002 over GPIB
I want to capture data from a single channel of TDS1002 connected by means of GPIB, over a long period of rime. I am using LabWindows and IVI driver. To say simple, I want to have a single trigger and than to fetch multiple data chunks from the scope that concatenate well, over a period of time.
Is this possible at all?
Many thanks in advance!
Having issues with simple serial communication.
Hi,
I have optics module which communicate on serial bus. I am using Visa serial bus to talk to it.
Bus Frame is like this
1. Start of header : 1 byte
2. Address : 1 byte
3. Command :1byte
4. Data length: 1 Byte
5. Data: 0-255 Bytes
6. Checksum: 2bytes
I have to send command in hex format , and visa serial bus takes string to write it to the port.
i am not able to communicate with the module.
Checksum Computation
If the following frame needs to be transmitted: 0xF4, 0x41, 0x20, 0x00 the checksum should be as follows:
- 0xF4 + 0x41 + 0x20 + 0x00 = 0x0155
- Take the 1’s compliment of that value: 0xFEAA
- Append the new checksum to the end of the frame: 0xF4, 0x41, 0x20, 0x00, 0xAA, 0xFE
Issue with NI-VISA detecting ENET-GPIB/1000 resource on RHEL5
Hello,
I am having trouble getting NI-VISA Interactive Control to recognize the resource and would appreciate any help. My goal is to communicate with the device through NI-VISA.
Configuration Details:
OS: Red Hat Enterprise Linux 5
Controller: ENET-GPIB/1000
Device: Keithley 2600
NI488.2 version: 2.9.1
NI-VISA version: 5.4.1
I have installed the NI488.2 and verified communication to the device by using the "gpibexplorer" and querying "*IDN?". After installing NI-VISA and starting the VISA Interactive Control (NIvisaic) utility, an error is thrown with the following message:
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
I've also tried to manually add the resource using NI-VISA Configuration (visaconf) utility, but have not had any success. When adding the resource, I configured the IP Address and set the protocol to VXI-11 Protocol. After doing so, the VISA Interactive Control still shows the same error message.
Thanks,
Brandon
GPIB Timeout Setting
Hi,
I am implementing a software control to a GPIB instrument using a loop to poll on the response data. In the Measurement Studio, I have set the GPIB I/O timeout to 10 seconds. But, at the real test, the timeout only measures about 2-3 seconds. (I was using the NI Spy to capture the function call).
I want to ask if anyone had similar situation and I want to ask why the GPIB I/O timeout setting does not seem work?!
Thanks.
Peggy
USB-488 and Ni cRIO 9035
Is it possible to use USB-488 with cRIO 9035 Ni Linux based RT controller? (By installing Ni Serial RT to cRIO using MAX)
Regards,
How to reset the GPIB ENET BOX.
To whom that is concern.
We know how to setup the IP address for the GPIB ENET Box (version C on firmware.) but the assignment for IP address is not successfully. So the GPIB ENET box is bad? (malfunction) or the GPIB ENET Box have been block.
Do we need unblock the Box or reset to the manufacture default setup (but We do not how - we need help!!!)
The GPIB Box seem as look fine but we can not know the IP address (or host name) and we can not use the Box.
we need to solve this problem to run the Test Station.
setup the IP address on GPIB ENET Box
I using the Window NT to assign the IP address for the GPIB Box.
I can assignment the new address for the GPIB Box (EX: 192.168.25.3).
but I can not assignment the new address 120.2.1.0. I do not why? Please help!!!
GPIB-USB-HS problem
Hi. I was using a Window XP SP3 and a GPIB-USB-HS it was working correctly.
But virus may have damaged the software. I tried to reinstall to the driver but I am encountering the same problem over and over again.
On the 'Device Manager' the GPIB-USB-HS shows up that it was installed properly but on the 'Measurement and Automation' window doesn't.
I'm using a Keithley 2002 Multimeter and Wayne Kerr 4300 LCR Meter.
Thank you in advance.
using Keithley 2400 SourceMeter and either a Keithley 6485 or keithley 487 picoammeterat the same time
Hi guys,
I am doing a project whereby i have to collect data from the sourcemeter and picoammeter at the same time. Right now i have the labview IV for sourcemeter, which allows me to collect the current and voltage data.
My question is, i'm having difficulties for picoammeter labview program and is there any method that i can collect data at the same time through the use of both instruments.
Both instruments are connected via a GPIB-USB converter and it is connected to my pc. I attached a copy of the labview program for 32400 Sourcemeter.
Thank you.
explanation of ke6485 labview program
Hi,
I am new to LabView and i am tasked to measure current using a KE6485 Picoammeter. I tried searching the forums and discussion board and i manage to find a labview program which measured the current.
I tried running the program, but it showed two errors.
Primary Error: Driver status: (Hex 0xBFFA0010) Invalid value for parameter or property.
Secondary Error: (Hex 0xBFFC0004) Parameter 4 out of range, or error occurred while setting Parameter 4.
Can somebody kindly explain to me the errors and if possible, can you also explain exactly what does the LabView program does. I attached a copy of the labview program.
Thank you so much.
Controlling SR780 via GPIB for Low Frequency Noise Measurements
Hi all,
I am wanting to control a SR780 analyser with LabVIEW for a project on low frequency noise measurements that I am working on.
I have only used LabVIEW briefly in the past (a few training courses etc), I have been through the 'Core 1' training material for a refresher however the 'Instrument Control' course is not available to me through my University program.
I have tried looking for examples online though I am yet to find anything that is detailed enough to be of any help.
I have the correct driver installed and I am able to communicate (via Agilent 82357A GPIB) with the instrument (simple *IDN, *RST commands through NI VISA) however I am a bit overwhelmed with how to begin developing the instrument control program.
If possible, could someone please point me in the right direction for where I can get some help? I have just ordered the 'Instrument Control Course Kit' through NI which I am hoping will be my saving grace.
Thank you in advance.
How to use PXI-8430/8 for simultaneous communication
Hello,
NI PCIe-8430/8 support independent serial communication on each of its 8 ports,
which means it can perform simultaneous communication, and here the problem I encountered.
Can you help me to figure out why I cannot perform simultaneous communication?
My code can perform simultaneous communication using onboard RS232.
Below is the screenshot
Note: I only use one sub vi and set the VI property execution reentrancy to pre allocated clone reentrancy execution, each clone sub VI have difference port setting.
What other parameter need to set so the NI card will work simultaneous?
VISA USB driver for sbRIO-9627
Hello,
I´m trying to communicate with a sbRIO-9627 FPGA board via a VISA USB driver. In the meantime I was able to create with the driver wizard a VISA USB driver for Windows and the sbRIO is detectet in MAX as a VISA device.
I´m also able to open a VISA session and read bytes from the USB port.
My problem is now that I can´t find any further information or examples how the programming part on the sbRIO-FPGA side should look like.
In MAX I have seen that on the sbRIO board already a software is installed which is called „NI-VISA 16.0“ and also „NI-VISA USB passport“.
Is there any documentation how to develop a VISA driver for sbRIO boards ?
Thanks
Holger
Trouble Communicating with Motion Controller using GPIB
Hi everyone,
I'm trying to interface with an old Newport MM3000 motion controller using Labview VIs, but I am not able to communicate with the device. I can program and interface with the motion controller just fine using the NI 488.2 communicator, but none of the Labview VIs, including those included with the downloaded Labview drivers for the MM3000, allow me to write to or read from the device. The GPIB address for the VI inputs is the same one that is listed in MAX (GPIB1::1::INSTR), and I am using only the included MM3000 drivers, but even the simplest of commands, consisting only of the aforementioned drivers and a few inputs, does nothing. I'm new to Labview, so my problem may be very simple, but I would really appreciate some suggestions.
Thanks!
PXI-8433
Can we program PXI-8433/4 individual channel to different baud rates?
Thanks,
Chethan