Quantcast
Channel: Digital I/O topics
Viewing all 2184 articles
Browse latest View live

OM-USB-1208 ULx install Labview17

$
0
0

When I run the ULxForLabVIEW installer, I get the error "LabVIEW 2010 or later is required for this package".

I have installed and licensed Labview 2017 32 bit version and am running Windows 7

InstaCal runs and recognizes the OM-USB-1208. TracerDac also runs.

 

 The installer is for Labview 2010 through 2016 Is there a way to make it recognize 2017?

 


USB-6221 MTBF

$
0
0

I'm trying to find MTBF estimates for USB-6221 or related product. This is desired by our U.S. Government customer. Appreciate any information that might help.

NI PCIe-6509 I/O question

$
0
0

I was wondering if, for the NI PCIe6509, the lines can be changed as input/output on the run, meaning, if initially I set some lines as input I can change them to be outputs while I'm running a program. I know each line can be individually set as Input or Output but I don't know if I can change them on the run. If someone could help me with this I will truly appreciate it.

Using an External Digital Trigger to Read Digital Input Once

$
0
0

Hello,

 

I am using the NI USB X Series (specifically the NI USB-6343) and programming in Visual studio 2010 with C# .NET . What I have been trying to do is use an external Digital trigger on Port 1 (PFI0) and reading the input from Port 0. When there is a rising edge on the digital trigger line (PFI0) I want that trigger a read from the input port (port 0) just once next I want it to be retriggerable so it is ready for the next trigger again without the user needing to do anything (like press a button to start looking for the trigger again).

 

I tried creating my task, and using the configure trigger function on the same task, but my code doesn't seem to wait for a trigger it just reads the input data from port 0 regardless of whether there was a trigger or not.

 

Have I misunderstood how the trigger works? What am I missing?

 

Thank you and I appreciate the help.

How to input the information of load cell and rotary encoder into eZ-Analyst using IOTech 650U?

$
0
0

I would need to input the information of a load cell and a rotary encoder, which are connected to channels of IOTech 650U, to the eZ-Analyst software. I have the following information :

-------------------------------Load cell------------------------------------

Excitation voltage used for the load cell: 5 V

Maximum load of load cell: 3 kg

Rated output of load cell: 1mV/V

-------------------------------------------------------------------------------

-------------------------------Encoder-------------------------------------

Resolution of rotary encoder: 500 pulses per revolution

Power supply of encoder: 12- 24 VDC

Max allowable revolution of encoder: 5000 rpm 

-----------------------------------------------------------------------------------

 

1- I wanted to change the FS (Full-Scale Voltage) in the input channel tab; however, It set for range of -40 to 40. How can I put the FS of load cell or encoder into this option? I selected Fs of load cell 5. Is it right?

2- how much should I input for the mv/EU ( millivolt per Engineering Unit) of load cell and rotary encoder?

3- I selected the type of rotary encoder as a Tach, Is it right?

4- In the Analyzer tab of eZ-Analyst , why I can't choose filter? How can I choose low pass filter for anti- aliasing in the eZ-Analyst software?
5- I want to use Amplification for the load cell. How can I do it using eZ-Analyst?

Digital Input as a Counter ... How to do it please help

$
0
0

Hi,

Im new to the LavView programming and i have an NI USB-6008 DAQ.

Can someone please explain me or e-mail me a code how can i use my digital input where i connected the push button as a counter so that every time when i push the push button the number will increment by one.

 

Please help 

Igor

 

I only managed to do a single arrayI only managed to do a single array

NI 9403 timing hardware or only software

$
0
0

I'm confused on the NI 9403 documentation is it only software timing control? The specs say the 9403 cannot route clock and timing signal --> does this mean you cannot use hardware timing/triggering? Whenever I use a clock for acquisition the data always times out.

 

Looking for someone to confirm that this is how the 9403 functions on software timing only, using hardware clock, I don't get errors until the timeout occurs.

Digital Output - Unwanted Reset on Lines

$
0
0

I am using MATLAB to change the values of my NIDAQ's digital outputs.  The outputs are sent to the digital input of another device where they are recorded.  Whenever the value of one of the output lines changes, the output lines defined in another fuction reset to 0.

 

I add 2 lines for a trigger using a function that contains the following code:

 

dio = digitalio('nidaq', 'Dev1');

trigger = addline(dio,13,0,'out'); % Port 0, Line 13

putvalue(trigger,0); % Reset trigger to start with

triggerAuto = addline(dio,4,0,'out'); % Port 0, Line 4
putvalue(triggerAuto,0); % Reset trigger to start with

 

Another function adds a line for an output that will send TTL pulses to a pump:

vr.dio = digitalio('nidaq','dev1');
vr.pump = addline(vr.dio,1,0,'out'); % port 0. line1
start(vr.dio);
putvalue(vr.pump,1); % 

 

For example, if later the value of trigger is set to 1 ( putvalue(trigger,1); ) then the output signal of vr.pump will reset to zero.  The MATLAB variable of vr.pump still shows "1" however my recording device shows that the output went down to zero.

Liekwise, if the value of vr.pump is changed using the putvalue function, then the output of trigger and triggerAuto will reset to zero (if they were not already at zero).

 

How can I change the value of one output line without resetting the output values of other output lines?

 

Thanks.  Let me know if you want me to clarify anything further.

 

 

 

 


Generate PWM with frquency lower than 40 Hz

$
0
0

i'm using myRio to generate PWM signal. how can I get PWM frequency lower than 40 Hz, I would like to reach 10, 20, 30, 40 Hz

myRIO DIO level shifting from 3V to 5V

$
0
0

Hi,

I am using a myRIO to output fast switching TTL signals to control a laser system. I used to do this using a DAQ but due to the conditions of the experiment we needed something faster so the myRIO with its fpga board was the choice we made. However, since the myRIO only supports up to 3.3V on its DIO ports I was thinking of using a level shifting circuit but the simple ones to build wouldnt be good enough as for the experiment the propagation delay cannot be higher than 100us. Basically, I want to know if anyone has used a levelshifting circuit or IC that can do this and if so what do you recommend?

 

Thank you,

Jaafar Harari

Real Time Application on myRio

$
0
0

Hello,  I have just started using Labview FPGA for a student project and have come across a small problem that I haven't found addressed here already: when I attempt to deploy a VI as a real time application, the source file is either unavailable or the DIO lines disconnect. I am using Labview 2016 and a myRio-1900. I'm not sure if this is a hardware or software question, sorry if this is the wrong place. 

 

I have written a simple code that produce a series of timed pulses used for triggering a MOSFET. Running from the project menu (under the chassis dropdown) the VI runs as desired (outputting pulses to the connector c DIO ports of the myRio). However, I would like to be able deploy the VI as a startup Real Time application, so that I can trigger the MOSFET using the myRio in situ, without access to a computer. 

 

 

I have looked at the tutorials on the process but they don't appear to come across the issue I've had. If I create a real time application and attempt to build it, the VI is not shown in the source files section (pictured). realTimeSource.PNGIf I instead create the VI again from the higher tier in the dropdown (the NI myRio line) then the source file becomes available but the DIO ports are unavailable (greyed out) and the wires are broken. This makes sense as it's clearly not on the FPGA target, but where then is the VI meant to be selected from? How do I create a real time application with access to the DIO ports? 

 

Any help would be greatly appreciated.

Thanks,

 

Max Will 

Routing P0 to PFI on USB 6361?

$
0
0

Hi All,

 

I'm attempting to use the DO timing features on the USB 6361 to drive an experiment. This requires me to do a buffered write and according to the error messages I've received on NImax, this is only possible using port0. The problem is that on my model of device port0 is interfaced only with screw terminals making for a less than convenient setup in hardware. Is there a way to route the signal from port0 to the PFI ports (specifically PFI0-7) which are physically interfaced with BNC terminals? This would have the advantage of cleaning up my experiment somewhat. Thanks very much for your help.

 

Cheers,

 

Andrew

HSDIO Custom Cable Issues

$
0
0

I took some old HSDIO SHC68-C68-D4 cables and cut the wires, cleaned off the board contacts of all wires, solder etc. I added 4 wires to connect to short coax for my DIO0 and DIO1 outputs or DIO2 and DIO3, which I used for SClk and SData for MIPI control. When I check the whole cables and NI adapters or even have an open HSDIO connector on the HSDIO instrument, I can light up all channels 0-15 with static set and read back whether they go high or not. With a blank connector into the HSDIO front panel correct orientation, correct depth of insertions, continuity check shows no short connections inter-channel, yet the test panel shows channels 1,2,7,8,13 and 14 are not active. I am not yet able to explain why. I saw one other post where the person had a similar scrambling, but didn't comment further in feedback in 2011. This is quite perplexing to making custom HSDIO cables for low distributed capacitance. The shortes NI has available is 1/2 meter and a box makes it over 2 ft and well over 150pF. We need to test with less than like 7-9 pf. Any ideas folks?

Digital IO for a Load Cell using cRIO

$
0
0

Hi All,

 

I am trying to read outputs from a load cell. The hardware is described at the link below (where it was suggested to the OP that they should use a RIO).

https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/Weight-measurement-using-load-cell-and-hx711/td-p/3575729

 

Essentially I need to monitor an input and, when it goes high, generate 25 pulses to a signal line and read corresponding outputs through another line. I've borrowed a cRIO-9074 with a NI9401 module built in due to the timing requirements.

 

I've some LabVIEW experience but have limited DAQ experience and in particular haven't worked with cRIO at all before. I'd like to get some high level pointers on the best approach / subVIs to use.

  • Should I use a timed sequence structure to generate the 25 pulses? Or is there a better VI do do this?
  • Should I monitor the signal line using a while loop also? Or how could I best convert this signal to Boolean outputs? What is the best way to synchronize my inputs with the outputs
  • My application is that, when the load cell registers a particular force I have to signal retraction of a piston - part of the code is running on a Windows PC (and will require online user input etc). So I guess I'm using the cRIO as a very fast DAQ card. What is the best way to integrate the cRIO DAQ vi into the rest of my code? Should I launch this vi asynchronously and then communicate via queues and/or shared variables? Is there a better option?

 

Thanks in advance for your help,

Dave

 

 

 

i2c communication procedure

$
0
0

i am using USb 8452 module for i2c communication in between the LDC 1612 module(slave)and USB 8452 (master).

How to configure and get the data?

any idea or suggestions


Hardware specs

$
0
0

Hello everyone,

 

I am using a SCB-100 board connected to a digital output device of NIPCI-6512 and we are using this to control pumps and solenoids. I am trying to figure out what is the max amperage that we can feed into the SCB-100 board and unfortunately am not able to come up with any searches that give a clear definition of the value. If anyone has the info or links to the info it would be great.

Thanks

NI-Tclk Error 250043

$
0
0

Hi all,

I have two chassis the first chassis has 5 VSA(s) NI PXIe-5663E  and second chassis has 5 VSG(s) NI PXIe-5673E. today the system doesn't work and give me this error in the attached thread. Please can any body help me to figure out the problem and how to tackle it? thanks in advance

 

Regards

NI 9482 - Current Measurement Through Relay Contact

$
0
0

The NI 9482 is exactly what I need to control 4 28v devices from a cDAQ, but I also need to measure the current that is being drawn on the 28v supplied to each of the devices.

 

Can anyone confirm if the NI 9482 can tell me what current is being drawn? If not, what's the best way to measure this post the NI 9482?

Win 95/98 driver wanted for Lab-PC+ for Register Level Programming

$
0
0
Hi there, hopefully someone can help? I am looking for a driver for an Lab-PC+, Low-Cost Multifunction I/O Board for ISA, Part Number 320502B-0, for Register-Level Programming on Windows 95 / 98. Some hint would be highly appreciated. Do not find anything on the official web site... Big thanks - Martin

Can't compile with SbRIO 96006

$
0
0

Hi, I'm woriking with a sbRIO 9606, according with the tables 1 and 2 (http://www.ni.com/product-documentation/53056/en/), i have installed Vivado 2015.4 but when I try to compile my VI, it says "The compile worker cannot perform the compilation. The compile worker may be configured incorrectly for this compilation or it may be in an error state.". I have been using the cloud service but my acc expired. Could someone tell me hot to configure the compiler or if im installing the incorrect version. Thank you.

 

 

Viewing all 2184 articles
Browse latest View live


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