Hello,
I am looking for the VISA driver(Ethernet Interface) for this automotive traffic generator made by Technica but I have not found one yet.
If there is none, then is there any generic VISA that I can use?
Thanks in advance!
Nubee
Hello,
I am looking for the VISA driver(Ethernet Interface) for this automotive traffic generator made by Technica but I have not found one yet.
If there is none, then is there any generic VISA that I can use?
Thanks in advance!
Nubee
Hi everyone, I want to implement LABVIEW to control the Instrument System CAS 140D spectrometer. The purpose of implementation is to test the response time of the spectrometer to the respective software. Can somebody assist me how to implement LABVIEW to spectrometer? Thanks
Hi,everyone.Can you set the serial port baud rate of myrio1900 to 128000?
Hi,
I want to know in the USB 6215 the communication cable (USB) comes along with that or need to buy separately.
Hello everyone!
I try to find a way to rename the DAQ device name (useralies) in Dot.Net C#?
I only have an option to get UserAlias by using NationalInstruments.SystemConfiguration, but I didn't find any way to set the new UserAlias for my DAQ device. Maybe someone can help to find a way to resolve my case without using LW.
Please, I need it ASAP!!!
Thank you
Work with a testing machine that uses PC with windows 2000 and LabWindows CVI 9.0 I have to communicate with a device under test via USB HID to verify its correct functioning. I found this example code that does not run in my version of LabWindows (created for LabWindows 2010). Since it is not possible for me to update the testing machine, there is someone who can give me an example that I can use with my version of LabWindows?
Thanks in advance.
Hello Ni,
I have a GPIB-USB-B device and I want to use it on my new windows 10 computer.
I've tried my drivers used on my previous windows 7 computer but it doesn't seem to works.
I can't find any drivers for my board on ni.com.
Can you help me ?
Thanks.
Flo.
添付画像の左上の図のように計測器が識別されず,外部ソフトウェアのSGADVANCEでGPIBによる通信ができません.
NI-MAXにで"Q:"を送信すると添付画像の左下のような文字列を受信する状況です.また,"!:"を送信するとRという文字列を受信します.
識別をNGからOKにする方法はありますか?
回答お待ちしております.
Hi,
I want to connect SR830 lock in amplifier with my computer to read output values from it. While connecting lock-in using RS232 to USB in NI Max, write command executes without any error but while giving read command, it gives timeout error before operation is completed.
Similarly, in my labview program read command doesn't work and therefore, the program completes while giving only 0 output all the time.
I have tried changing the RS232 to USB cables and even tried in different computers.
It will be really helpful if someone can help.
Thanks,
Urvashi
Hello,
I am running into a very difficult issue using the VisaNS library in C# .NET. I have created a class called FactoryInterface with the following constructor:
public class FactoryInterface : ICommonControl { protected MessageBasedSession _mbSession; public FactoryInterface(string com_port) { SerialSession ss; _mbSession = new SerialSession("COM14"); ss = (SerialSession)_mbSession; ss.BaudRate = 57600; ss.DataBits = 8; ss.StopBits = StopBitType.One; ss.Parity = Parity.None; ss.Timeout = 1000; ss.TerminationCharacter = 0x0d; } }
I then create an object of Factory interface and call the following function, SendCommand with the parameters "get netconfig\r" and false:
public void SendCommand(string cmd, bool getError)
{ _mbSession.Write(cmd + "\r"); }
Which returns the following exception:
Unknown system error (miscellaneous error). VISA error code -1073807360 (0xBFFF0000), ErrorSystemError
In order to test the device I open VISA Test Panel. I configure the device with the same parameters as above and send the same string. The write completes without error.
When I capture both communications using NI I/O Trace, I see the following descriptions for the successful and unsuccessful communications, respectively:
2. viWrite (ASRL14::INSTR (0x00C7DA10), "get netconfig.", 14 (0xE), 14 (0xE)) Process ID: 0x00005530 Thread ID: 0x000052C0 Start Time: 10:11:58.1070 Call Duration 00:00:00.0002 Status: 0 (VI_SUCCESS)
> 27. viWrite (ASRL14::INSTR (0x00000001), "get netconfig.", 14 (0xE), 0 (0x0))> Process ID: 0x00005404 Thread ID: 0x0000569C> Start Time: 10:12:32.8867 Call Duration 00:00:00.0000> Status: 0xBFFF0000 (VI_ERROR_SYSTEM_ERROR)
Any insight or lines of investigation would be greatly appreciated.
Thank you for your time.
Hi,
I have a scale connected to RS-232 to record the weight change respect to time. Unfortunately, I am getting inconsistent string output which does not conform with the format string I assigned. I set the format string based on typical reading as below:
Typical String:
"ST,GROSS 100 g "
Output String when Error Occurs:
"GROSS 100 g "
"SS 100 g "
"g "
For typical string, output byte size is always 22. I am thinking something is wrong with my VISA property. If you have any suggestions, please let me know.
FYI, if you are counting to see typical string has 22 byte size, it might not. I put arbitrary number of spaces just for this post. I am also running this with 2 different scales at the same time in the same VI. Both having 2 separate VISA open/read/write/close. (Think of it as a duplicate except for sharing a same while loop.)
Please leave a comment or question. I would appreciate your feedback.
Hi there,
I'm looking to log data from a weatherstation with a cRIO-9040. An NI tutorial recommends using a RS-232 to SDI-12 converter (http://www.ni.com/tutorial/7706/en/). However they seem difficult to get hold of in the UK.
A USB to SDI-12 converter is easier to source, is this still supported by the LabVIEW SDI-12 API? If not can anyone recommend viable alternatives?
Kind regards.
Oliver
Dear all,
I am new to instrument control and new to this forum. Please apologize if my question sounds stupid, but I have already spent several hours searching for a solution of my problem.
I have some old instruments with GPIB and two new ones USB/LAN interfaces that I woule like to control by a C program using the IVI-C class drivers. I have installed the drivers and set up the instruments in NI MAX. As far as I can tell up to now, for the GPIB connected devices everything works well.
However, when I call the IviFgen_init() and IviSpecAn_init() functions for my Siglent SDG2082X and SSA3021X that are connected either to the LAN or a USB port of my PC, they I get the return code -1074135023 (BFFA0011). According to the documentation this means "function or method not supported". Now I wonder to which function this refers. As far as I know, these init functions are always supported.
I suppose that the error is in front of the keyboard :-) Does anybody have an idea what goes wrong and where I have to look?
Thank you very much for your help!
Kind regards,
Ralf
I am working with code that someone else built (and I unfortunately cannot share) that interfaces with a Xenon Lamp. The interfacing works fine until the command for the lamp to turn on is issued, at which point the lamp will no longer respond to any VISA commands, even if the connection is ended and reestablished or the buffer is read out. I was just wondering if there is a precedent for this kind of issue in VISA/if this is a just a common issue or beginner mistake. I know it is hard to help without the code which is why all I'm asking about is whether this is something you've seen before and in what situation it was seen.
Thanks!
I have a lab with a number of Thor Labs shutter controllers. These controllers have remote control capability with RS232. I plan to write a simple Labview VI to operate the shutter controller from a remote PC. Do do this, I need/want an RS232 to TCPIP adapter. I have tried looking at the current NI products and don't see exactly what I want. Ideally, I don't really want a plugin module for a chassis like PXI. I would prefer a standalone module that would adapt the controller RS232 port to our network. I see a lot of such product if i do a Google search. I could use some recommendations for a high quality product. Open to an NI product if they have one. I saw some posts about a product known as ENET-232-2 but it does not seem to be a current product.
I am having trouble performing USBTMC control out transfers using the NI VISA driver.
In terms of background, I'm presently working on USBTMC device firmware, and was hoping to use custom USB control out transactions to help with debugging. I use Windows 10, 64-bit, with NI VISA 19.0. This issue isn't critical for me to solve, but it is a bit perplexing.
I have tried sending data both with IVI VISA .Net, pyvisa, and the NI VISA Test Panel. In .Net, I use
inst.ControlOut(0x21,0xCC,0x00,0x00,new byte[] {0x12,15,18,12,23,85});
I traced the USB activity via WireShare with USBPcap, and it shows the data was 00 00 09 00 AC 00.
Similar corruption is seen when using the NI Test Panel and pyvisa. The data received on the device is the data shown in WireShark. It's as if the wrong buffer is being used in the VISA USB library.
On the other hand, control IN transactions are working as expected. I wonder if control out transactions have not been tested since they are not used in the USBTMC spec.
Thanks!
Trying to connect my Tektronix TDS2014C scope to my windows 10 pro 64 bit pc and I get this error. I selected and installed the driver for the tds2014c and it says tktds1k2k, but should I have downloaded a different driver? Also I am coming in through a usb port, but it gives two options USB0::0X0699 or tktds1k2k? It gives me this error when I hit run
ivi_IviScope Configure Channel.vi<ERR>
Primary Error: (Hex 0xBFFA0010) Invalid value for parameter or property.
Secondary Error: (Hex 0xBFFC0003) Parameter 3 out of range, or error occurred while setting Parameter 3.
Elaboration: Range
<b>Complete call chain:</b>
ivi_IviScope Configure Channel.vi
ivi_subScopeSetExecParams.vi
ivi_InstrSCOPEBlockState.vi:5360001
What do I have to do?
Hi,
I am working on a project that has 3 places of measurement of pressure and flow.
2 of those device are connected by bluetooth and it serial code is COM 4 and COM 6.
The other one is a USB device thats change it serial code by the usb port that I plug it.
For the read, I used a Visa Read for each one but when I put the devices on serie, I can see that there is a big delay between them.
Another problem that I am having is a timeout error in Visa Read that crash the program. It read everything but, in a random time, it crashes and a error appears.
Info of the code
- The bluetooth devices has a Terminal Char \r\n and the usb device has a Terminal Char \r\00. I can't change this Terminal Char, but Labview read the exact buffer. I confirm this using Tera Term.
- It's a new project, so I am trying to deal with this bug first and then I will see how can I put time stamp on Waveform Chart, put all the waves below each other and export the data on a sheet or another file to work with on Matlab.
Thanks for the help.
PS: I attach a video of the problem to help to see the delay between them. On top are the flow signals and below the pressure signal. The first device of the video is COM 6, second USB (COM 3) and last one is COM 4. By the video, you can see that the flow signal has to appear first on COM 6, than COM 3 and the last on COM 4 but this is not whats happening.
Hi.
I have connected the Keithley 2400 to my PC using a RS232-USB adapter, and my PC cannot identify the device.
On the device manager, it is not listed under COM, but instead it is listed as "USB-Serial Controller" as on the screenshot file below. NI MAX does not identify the device either.
Can anybody help me on this issue?
I am trying to *TRG a table of frequencies on a 4287 analyzer and no matter what I do if I am stepping through the code, or running it. Any command I send to the analyzer after the *TRG results in a "query interrupted" error on the display, including an *OPC? or a ReadStatusByte. When stepping through the code I wait until the analyzer if very obviously done with the command and I still get the error.