Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all 5662 articles
Browse latest View live

controlling current output of Lightwave LDX-3207

$
0
0

Hi,

 

    I want to use the vi to controll the output of my Lightwave LDX-3207.

    But, when I set my parameter ( current 10mA or 1mA), the output is always 0. 

I don't know what's wrong with that. Can you help me?

 

 

The driver is for 3210, but I think is works for 3207 also.

 

Thank you,

 

Jaeson


Modbus NI VISA Serial - Tx%2FRx Error

$
0
0

Hi,

 

I am using Virtual Serial Port emulator to create a pair of 2 COM ports and to connect them.

I am using the below LabVIEW VI to transmit Mod bus data and Receive Mod bus response using VISA serial VIs.

The NI VISA version i am using is NI VISA 5.o and labview 2010.

But there is no response from the serial buffer and it keeps timing out.

The same VIs looks to be working fine in another location in Windows xp PC.

 

The controls in the VI has the default value which is used during execution. Any help will be appreciated.

I am attaching the VI, PC configuration and the node throwing error.

 

The Top level VI is "Mod bus - VISA Communication Error.vi". At the low level, the "AT - Serial Receive" is the VI which is throwing error. Please see below image.

error.png

 

 

Please help.

Regards,

Muthuraman.

receiving SMS using GSM module in LabVIEW

$
0
0

Hi ...

I am Communicating the GSM module in VI. I can found the solution for sending the SMS. But i am having the trouble in read the SMS in VI. I tried more type of models. When I am running the VI,  in the read buffer content is displaying as "AT+CMGR=1" which is we are writing AT command into the port for reading the SMS.Here I attached the image.... please kindly go that image, you will surely get what I am getting the error...

Please reply asap....

max

$
0
0

Is there a way to set privileges in MAX so that user can only access the test panels??  I just want to allow someone to use the DMM softpanel and relay test panel in max as a troubleshooting aid.  Just afraid of the damage one can do if they start messing around in other menu items.

LabVIEW crashes the PC in time when it reads Visa serial

$
0
0

Hi, I am new programming in LabVIEW and I need to do a program able to read some parameters from the devices, keep the data in a file, display it in a graph… etc.

 

From the example “advanced serial write and read” I was able to send the commands to the devices and read it. I also could  manage to save it in a file. The problem is that in time, one hour or so, the PC reboots alone for a problem in the LabVIEW program I have done. Could you please, have a look at it and tell me what could be the possible reason?? 

 

Any idea of how to improve the structure of the program will be welcome. I try to learn as fast as possible.

 

Thank you very much attention and patience.

 

NI MAX couldn't read devices properly.

$
0
0

I have a NI USB-9213 for thermocouple temperature input. But the signal express just could not find it, (no devices available). But the NI MAX could find the device. The only error is when I open the VISA test panel and view the attributes, the interrupt in pipe status has invaid property value  (Hex 0x3FFF0082).

Does anyone know how to solve this problem?  I am just a beginner.

I guess the NI MAX should have the button of self test or so, but I couldn'tt find that.

I have labview 2012, signalexpress2012, NIMAX 5.6, daqmx 9.9, visa……I have uninstal and install all of the  NI software andhe drivers many times. Could anyone help me?

Thanks very much.

1.JPG2.JPG3.JPG

Static IPA for cdaq

$
0
0

I have a cDAQ 9181 chassis that I can communicate with over DHCP IPA.  However, I need to assign the 9181 a static IPA (assigned by our network admin).  When I use MAX to try to change the IPA to static and give it the correct IPA, MAX searches enlessly for a network adapter.  I'm sure this is not the first time this has happened and someone must know the solution to this.  Thanks.  Hal Curling

Recover from VISA connection loss

$
0
0

Hi, my LabView application is to set a power supply, enable output, and monitor volt and current using VISA based drivers download from NI.  I would like to know if there is a way to recover VISA connection loss when it happens (e.g. cable problem, etc.) while VI is still running.  I hope something can be done in LabView so that if that happens,  I can reconnect cable and the application reestablish VISA connection and continuously monitoring the PS outputs without restart the application.  Thanks in advance!


I need a windows 7 driver for the PCI 8335

$
0
0

I bought a PXI system years ago, controlled by a very old computer via a fiber optic link with a pci card.  I want to use updated computers, and bought a PCI extension that I can use with laptops, but I cannot find the driver for the PCI card on the NI website.  If anyone knows where it might be lcated please let me know.

Sending pulses through the serial port

$
0
0

Hello everybody. I need to send pulses with frequency of 1 Hz, with time at a high level 5us (microseconds) for about 30 minutes at pin 3 of the serial port (Tx). Already built the circuit RS232 to TTL conversion. And the program I have done the basic routine of sending signal through the serial port and already noticed its perfect functioning. My problem is I can not send a 0 to the output. In the writing pad VISASERIAL WRITE the value I place is represented in ASCII and can not send a zero logic level at the output. Already consulted the table and the NUL code that represents bits 0 not out. I tried to use the VI BREAK but it does not satisfy my project because it keeps the low level by only 500ms and a certain delay occurs.

In short, HOW TO SEND A BIT ZERO BY EXIT VISA SERIAL WRITE IN ASCII?? Wish my output becomes zero for a few seconds.
Thank you guys. Attached follows my program.

urgent GPIB crash

$
0
0

Hello

this morning we had a worse crash of one of our systems. During the startup the computer hangs and has to be restarted several times. When it is started finally, the CVI software do not work. We started the MAX and got an error message like this:

 

The niGPIBsys.dll plug-in caused an exception in the CmxSysExpertManager::FinalizeExpert function in the NIMax process.
See these files for details:
C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Logs\20140602_091902-NIMax-00000654.log
C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Logs\20140602_091902-NIMax-00000654.dmp

In the log file we found:

Context where exception was caught:
Func: CmxSysExpertManager::FinalizeExpert Args: plugin=niGPIBsys.dll

 

The problem is: We do not have a GBIP device in the system, there is only a Highspeed Digital I/O card 6534 inside.

 

Does anybody know what we can do to restart the system and bring it back to work

 

thanks

Oliver

 

Unable to remote control Tektronix TBS1062 with USB Interface

$
0
0

Hi,

 

I have recently downloaded IVI Driver for Tektronix TBS1062 from national instruments.  I am using USB communication.I have configured the instrument in NI MAX and can identify the instrument successfully. However I am unable to use any of the other functions using IVI  driver. The IVI Step in NI TestStand always passes without any errors and NI I/O Trace shows VI_SUCCESS but I cannot see any chanes to settings in the horizontal scale and the veritical scale as configured by the IVI step. The horizontal and vertical scales always remain the same.

 

I am not really sure ,But could it be because of the USB interface?? Does the driver support USB?

 

Did anyone have the same error or Could anyone please help resolve this issue.

 

Many Thanks

TI AFE4490 on labview

$
0
0

Hello,

I am currently working on the following project:
With an acquisition card (AFE4490) manufactured by TI (they don't broadcast labview source code , or the driver for use directly ), I should be able to process the values in real time in labview . The card is connected to the computer via a USB port, but the chip communicates using a SPI port.
To do this, they gave me the datasheet of this card and the main operation is to write the different registers in this card from labview . I have a sheet with 30 registers with  addresses and corresponding reading and writing addresses.
For example, after the initialization of the card, the first operation is LED2STC , address 0x01 and address read / write 0x0017C0 .
The doc says that the chip has 32 bits , it uses the first 8 to write the address and uses the 24 other to write the reading and writing addresses.
So I wanted to know how it was possible to enter these registers in labview ?

Attached a sheet with the list of the registers.

Regards,


Damien

connect Tektronix DPO 2024, Error-1074000000 occurred

$
0
0

Hi:

 

I connect a Tektronix DPO 2024 With PC via USB,

 

use sample code:"Tektronix DPO MSO 2000 4000 Series Acquire Digital Voltmeter Example.vi",

But "Error -1074000000 occurred at Tektronix DPO MSO 2000 4000 Series.lvlib:Error Query.vi" occured.

 

somebody know how fix it.

 

thanks.

USB based devices

$
0
0

Recently in one of the meetings i attended for designing test system, i was told USB is not reliable for long duration testing( more than 12 hours) . Hence we cannot pick devices that do not work on USB.  How much truth is in it?

 

thanks

Jis


Tektronix TBS1062 goes to default set up

$
0
0

Hi,

 

I am a newbie to IVI programming.

 

I am currently configuring the Basic, Channels and Trigger settings on the IVI Scope step and everytime I configure the scope goes to a default set up. 

 

Am i missing any step configuration or initialization??

 

please help.

 

Thank you

How can I get MAX in my virtual machine to recognize my DAQ?

$
0
0

I am trying to control a DAQ through a windows XP virtual machine. The error message I recieve is as follows:

 

Error 200220 occurred at DAQ assistant

 

Possible Reason(s)

Device identifier is not valid

 

Device Specified: Dev2

Suggested Device(s): Dev1

 

 

Naturally, it seemed the solution was to specify Dev1, and that I could do this through the MAX. When I go to Devices and Interfaces in the MAX I don't see any devices listed.

 

 

The DAQ is recognized by the windows device manager, but the driver selected is C:\WINDOWS\system32\DRIVERS\nixsrkw.

 

I read in my search for a solution that I should try to change my driver to ausbtmc.sys. I following instructions to update the driver using a 'browse from file' option, I found I was unable to select (or even see) the .sys file.

 

Does anyone have an idea for what I can try? I am a labView noob, I would greatly appreciate specific instructions if you can help.

 

Thanks!

Leith

 

 

Omega CN8202 Temperature Control Labview Question (Serial Port, RS-232 Communication)

$
0
0

I am a complete novice with Labview, as in I just started fidling with it today, so sorry if any of these questions are obvious.

 

I will be working with an Omega CN8202 temperature controller. As noted in the topic title, the one being used uses serial communications and the RS-232 protocol.  However, the version of LabVIEW being used is from 2007, so I don't think any of the drivers here would work

 

I only want to be able to set a temperature on the CN8202 from a computer and don't need to do anything regarding ramp or soak times. How could I edit the drivers so that they would work in the 2007 LabVIEW version?

Initialize array with NaN

$
0
0

For a data recording, graphing and analyzing VI, why should I initialize the arrays to NaN after reading the data from files. I figured it is for synchronization. Can anyone give a detailed explanation?

Converting a "differential" connection to an "RSE" connection

$
0
0

Hi,

 

I am dealing with a measurement system that previously used a "RSE" connection to measure certain voltage signals and it worked ok. Now there's a new DAQ (NI USB 6353) and the "differential" connection is used. However the measurements are no more correct.

 

I know that it would be possible to change the connection method to "RSE" as it used to be by modifying the VI used but in this case that would be difficult since I do not have an easy acces to the DAQ device anymore.

 

So the question is this:

 

Is it possible to manually change a "differential" connection to an "RSE" connection just by disconnecting the GND signal cables now used and connect those input ports to the GND ports of the NI USB 6353? Wouldn't this kind of connection practically be the same thing as using "RSE"?

 

All help is appriciated.

Viewing all 5662 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>