Hi, I have a Delta PLC with an AD converter module. I am using all four analog channels and in one of them I have a thermocouple that displays the temperature data on a microprocessor thermocouple meter. Nevertheless I want to display the data on Labview. The plc communicates with labview through the DSC Module from labview succesfully but I'm not able to read the data. Looking forward to your help.
Analog value read with DSC Module Modbus
synchronization of digital output to analog output
Hello,
I´m trying to synchronize a digital output signal (in the end it should be a short TTL pulse) to an analog output. With this I want to tag the beam position change. I the already existing program there are the detector counters already synchronized (counter inputs) and this works, Adding in the same manner the digital output leads to the following error:
Error -200462 occurred at DAQmx Start Task.vi:4
Generation cannot be started, because the output buffer is empty.
Before starting a buffered generation, write data. Unreserving a task empties the buffer. Changing the size of the buffer or setting the Regeneration Mode property will result in the buffer being unreserved and emptied. Changing the Sample Mode or configuring retriggering also empty the buffer.
I use an PCIe 6343 device with a Windows 7 32-bit computer.
What´s my error?
I attached the VI.
Thanks a lot!
compaqrio module for usb input?
I have a system that sends data over a usb connection, and I want to connect it to a CompaqRIO FPGA. Is there a module for the CompaqRIO system for "usb input" or similar? Or is there some other way to handle this situation? Thanks,
Digital Input Current Drawing Problem in PCI-6220
We are having NI PCI-6220 Card mounted on PCI-Raiser Card in a mini windows PC. We are using 8 Digital Input Channels P1.4-P1.7 and P2.2-P2.5 for taking some inputs from our Input Card.
When the computer is on then everything is working fine and we are getting Digital Inputs in Labview. The problem is that when computer is turned off the Digital Inputs on PCI-6220 Card start drawing current and due to this voltage regulator IC on our input card starts to Heat up.
This problem only occurs when the PC is turned off , in on state everything works fine.
We will be greatful is anyone can suggest a solution to our problem.
Regards
Shourya
External clock lvds ni 6587 basic connector clip
Yet i am getting error that the host and fpga are not able to communicate. clock not detected.. the error which appears when clock is not being detected.
WHere am i wrong? need help
serdes channel serial aquisition and generation
I am confused regarding the usage of serdes channel clip.
I need to both acquire and generate lvds serial bitstream and save it in 0 and 1 form i.e.
1. read a tdms file of 2 channels with 1,0 bitsream data.
2. acquire serial bitsream from external 2 channels and save it in tdms file.
As far as I know, the serdes channel clip aquires U16 data on each channel. then combines 10 bits keeping 6 unused and outputs that on port. How do I prevent each channel from deserializing..and simply save the bitsream in tdms file. I want my lvds data in 0, 1 form.
Can the serdes be disabled?
If not..how do I serialize my stream? is there a code which can help?
PCIe-6509 Pull Up / Pull Down?
I have a PCI-6509 measuring 96 digital signals. The signals I'm reading are supplied by device that outputs HIGH by pulling to a 3.3V rail through a 10K and a LOW by a transistor pulling it to ground. The system is not reliably detecting the HIGH/LOW state. It measures most of the channels correctly most of the time but there are occasional glitches.
I still have some work to do in verifying the signal integrity of the test fixture (especially the grounding on the DUT PCBs) as the system was designed and wired by a Mechanical Engineer but I have also ordered a PCIe version of the 6509 card due to its programmable Pull-Up / Pull-Down option in case it is needed.
I'm working to modify the LabVIEW software to add the Pull-Down feature on the lines I'm reading but I cannot find any documentation on it. The feature is mentioned in the 6509 manual but it simply says: " Refer to the software documentation for information about how to program the pull setting using NI-DAQmx with LabVIEW ". What software documentation does that refer to?
Does anyone have any advice on reading 3.3V digital logic with the TTL-based 6509 cards and/or information on who to set the pull option?
Thanks & Regards,
NQ
How to get the output of SMB trigger connector using PCIe-1433?
Dear all,
I want to get the output instead of the default input of SMB trigger connector of PCIe-1433.How should I set the configuration.
Thank you so much!!!
NI PCIe 6612
Whether this card is compatible with PCIe 2.0 bus?
VI for controlling a step motor
We are looking for a good VI for controlling a step motor. We are using the UMI-7764 and the Driver that connects to the motor, which is cmd2120p. We tried using this NI link, but it did not help us much: https://decibel.ni.com/content/docs/DOC-6385 . Is there possibly a better VI to work for specifically the UMI-7764?
Thanks
NI 6525 SSR current sensing
Hello, when using SSR outputs - for example: p0.0A is 28V and then the ssr is closed. I afraid of 0V in p0.0B.
Is there any way that the SSR is protected from a short circuit? Is the circuit sensing the current?
Beckhoff EtherCAT settings cRIO
Hi,
I'm using a cRIO RT controller and a Beckhoff EtherCAT Module (EP3184-0002). The Module I mentioned is a analog input module. I can implement it in my LabVIEW Project and read all the Values and Status.
However the module can read voltage or current. By default they are configured to voltage. How can I switch the setting to current?
Here you can find the Beckhoff documentation: http://download.beckhoff.com/download/document/io/ethercat-box/ep31xxen.pdf
to change the CH01 and CH02 input to 4...10mA you have to change the index F800:01 and F800:02 from 0 to 2.
I found a promising post in the forum but I still can't figure out how to implement it on a cRIO or what specific commands I have to send to change the setting.
http://forums.ni.com/t5/LabVIEW/beckhoff-ethercat-Are-there-NI-drivers-for-this/td-p/1191239
I attached the DLL file as .txt file you have to change the suffix to .dll.
Hopefully anyone has experience with configuring EtherCAT devices in LabVIEW and help me out here.
DWDT
The one thing I am working on that I could use some assistance with is knowing the Digital Waveform file format. I can't find documentation on this format anywhere.
We are trying to get Serial Data Words to load into our NI-6561 in a reasonable amount of time. We are anticipating a thousand serial Data words at about 3K patterns each. Our existing method takes minutes to load, which is unacceptable. Using a "Read Waveforms from file.vi" (See Below) and feeding it all of the waveforms from one Digital waveform file (Could be a “DWDT Array Dlog” File) appears to be a promising solution. I have reverse engineered the format and have made it working model. It is a binary file. We need to know the real format of this file: what all the fields are, how long each one really is and if there are uses for what appear to be a null pad in the header. If I go with what I know we may find out down the line that we have problems based on our unknowns. Knowing the format can help us to be more secure when we build an outside tool to generate this file. So that our solution will actually work properly and that we can label each version of the file to assure conformance and maintainability.
usb 8451 missing screw terminal block
Hello I am looking to replace the screw terminals blocks on a USB 8451 that is no longer needed so it can be resold.
Does anyone have a part number for a supplier of this screw blocks.
Regards
D.
I don't know how to use 9402 in FPGA of Labview
Hi,
Now,I am using 9402 in FPGA modle of 9144 .But I want to know how to set a output channel of 9402.I want to let it output a digital singal and then let other input channel of 9402 accept it!I know how to set input and output model of 9402.
Can you give me a example for this idea?
importing image from medical device via HDMI to an AIO (PC and Monitor all in one) with an HDMI to VGA com port
i have a Storx digital medical imaging device with an HDMI out port. It has a very small screen for viewing (5") I have a medical AIO (all in one computer monitor) that has 4 com ports and to HDMI out ports. the AIO is 22" screen and I would like to use it as a slave monitor for fiew images imported from the medical device. If I get an HDMI cable with VGA adapter, and plug into one of the com ports, will that be sufficient to view the image on the AIO?
USB-6501 output structure
Figure 4 of the NI USB-6501 OEM User Guide shows a port IO circuit. Rp is populated with a 4.7 kOhm pull up resistor. The documentation states an output can be configured as push-pull. Does that indicate that actual micropin on the USB microcontroller, as shown in Figure 3 block diagram, will be configured as push-pull, basically overriding the pull up / open drain circuit? Is there circuit diagram of what an actual port pad looks like? That is, when push-pull, does the port pad have a dual transistor circuit connected to it?
Reviewing the PCB, I observe a low side transistor on all the pins with the 4.7 kOhm pull up resistor, Rp.
Thank you.
SPI waveforms using niHSDIO as slave to DUT
Hi,
Is it possible to configure the pxi-6556 as a slave device and acquire SPI waveforms of data transfers coming from a Microcontroller configured as the master? The idea is to be able to characterize the SPI AC timing capabilities on the DUT (Microcontroller). I've researched examples and information in which the niHSDIO card is the master but what I really want is for the niHSDIO to emulate a slave device, and to be able to observe the SPI waveforms.
Thanks in advanced,
Scott
NI 9403 Pinout & Connections
Hello,
I am developing a test PCB to use with the NI 9403 5VTTL Digital I/O:
I am controlling a bank of 32 MOSFETs (N-Channel) to conduct open circuit testing on the DUTs. I noticed that pin 19 on the NI 9403 connector is marked RSVD. A quick search of the forums lead me to this post:
http://forums.ni.com/t5/Digital-I-O/In-the-NI-9403-pinout-what-is-RSVD-on-pin-19-mean/td-p/792905
It seems this pin is "reserved" but I can find no documentation on it in the NI 9403 datasheet. Does anyone know if I need to tie this pin to anything (ie. GND) on my PCB, or leave it floating?
Thanks!
DO using python on DAQ (pyDAQ)
Hi guys, I'm new to pyDAQ and I'm just trying to send out a Digital waveform through my python code.
There is sooo much documentation that every time I get close to a solution, I get lost...
I try to run the following:
from PyDAQmx import * import numpy from PyDAQmx.DAQmxConstants import DAQmx_Val_ChanForAllLines, DAQmx_Val_GroupByChannel # Declaration of variable passed by reference taskHandle = TaskHandle(0) try: # DAQmx Configure Code DAQmxCreateTask("",byref(taskHandle)) DAQmxCreateDOChan(taskHandle,"KeyDAQ/port0/line0:7","", DAQmx_Val_ChanForAllLines) DAQmxCfgSampClkTiming(taskHandle, '/KeyDAQ/PFI4 ',10000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,1000) data = [0,1] arr = numpy.array(data, dtype=numpy.uint8) DAQmxWriteDigitalU8(taskHandle, 100, True, 500, DAQmx_Val_GroupByChannel, arr, None, None) # DAQmx Start Code DAQmxStartTask(taskHandle) print "Generating digital output continuously. Press Enter to interrupt\n" except DAQError as err: print "DAQmx Error: %s"%err finally: if taskHandle: # DAQmx Stop Code DAQmxStopTask(taskHandle) DAQmxClearTask(taskHandle)
and I get
DAQmx Error: Specified operation cannot be performed while the task is running. Task Name: _unnamedTask<0> Status Code: -200479 in function DAQmxStartTask
I know I probably don't have the right direction, so could someone point me what I should look for ?