I have a NI USB 6009 multifunction I/0. I have installed the DAQmx package, It shows up on NI MAX, but there isn't an option to right click. Once I load NI MAX it also initially gives me the error: "The NI database is not running, restart your system and try again". However, I have already tried to reboot my laptop and nothing helps.
NI USB-6009 no right clicking on measurement and automation explorer
Best timing method for Digital Output for NI PXI 6527?
Hello,
I am trying to improve the timing reliability of changing the digital output values for a NI PXI 6527. I have attached an image of a snippet of code demonstrating my current method of:
-writing the output values
-waiting until time has expired
-writing new output values, and so on.
Unfortunately, I find this method does not have very reliable timing, and my switches do not always turn on and off when they should.
I was thinking that a better approach was to have some kind of "script" that updated the output values at a specified rate. I thought the example VI "Digital - Continuous Output" was a good starting point, however, I continue to get the following error:
Possible reason(s):
Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.
Property: SampTimingType
Requested Value: Sample Clock
Possible Values: On Demand, Change Detection
Task Name: _unnamedTask<2D>
I am using the OnboardClock as my Sample Clock Source. In the VI description, it says it is supported by PXI 6527, but I can't seem to make it work.
Any help on:
1. Improving the timing reliability of changing digital output values or;
2. Resolving the above error when executing the "Digital - Continuous Output" VI with a NI PXI 6527 and using the OnboardClock.
Would be greatly appreciated!
Thanks,
Ian
NI USB-6501 and "DO.Output Drive Type" parameter
Hi all.
I have a box, integrated in a TE, that houses a USB-6501 card.
DI and DO are properly conditioned and can be accessed by a custom connector.
A LabVIEW application controls the whole TE and, at start up, configures USB-6501 to work as "Active Drive", following the hints of the article
How Do I Configure My NI Device to Be Open-Drain (Open Collector) or Push-Pull (Active Drive)?
Now, that box needs to be tested out of the TE, as a standalone device, to release a simple PASS/FAIL report.
Usually, the test procedure for boxes like these, are simple.
HW Requirements:
- Power Supply
- PC (to connect to USB6501)
- DMM
SW Requirements:
- NI MAX.
But unfortunately, in this case, NI MAX is not enough to test the box.
OK. I can write a couple of VIs to carry out the task.
Anyway, I have three simple questions:
1) will it be possible, one day, to set default value for "DO.Output Drive Type" parameter, so that USB-6501 will remember his configuration at power-on ?
2) will it be possible, one day, to access "DO.Output Drive Type" from MAX Test Panel ?
3) Where can I find an NI official standalone SW to configure "DO.Output Drive Type" and configure/manage Digital I/O on USB 6501 board?
I hope no one will get angry for this post.
I thanks you in advance for the answers.
Bye
Digital Outputs on SCB-68A
We are working with SCB-68A connected to PXIe-1073 over DAQ Board PXIe-6363 and we need to connect some digital output signals for that matter I wanted to ask whether we should connect the to the PFI pins or P0 pins?
How to connect opto sensor and limit switch to DI module?
Hi,
I have a opto sensor (OMRON EE-672) and a limit switch (OMRON V-156-1A5).
I'd like to use them to detect the limit triggering of my stepper motor.
However I have no idea how to connect them to my DI module.
The sensor of OMRON EE-672 is powered by 5V, and outputs high signal when it detects the light blocked.
I wonder if I can connect it as this way:
For limit switch of OMRON V-156-1A5, it is just a mechanical switch.
When it is pressed, two of the terminals are short, should I use a resistor to measure the voltage across it?
I wonder if I can connect it as this way:
Do they works?
Looking for Cables for PCIe 6509
Hi folks,
for 2 days I've been searching for suitable cables for PCIe6509 cards. NI provides only 1 and 2 metres cables, but we need 5m (16ft) length. The only provider I found is Mouser/TE Connect, but I have to order at least 100 cables there for over 12k€. I need 5-10 cables, no more. Do you know any shop anywhere where I can buy these cables? All but alibaba please :-).
TIA
Waldemar
CalExec 4.1 PXIe-6556 "Session Handle Not Valid"
Hi All,
In running calibration routine for PXIe-6556 I get the below error after self calibration portion is complete. I have run several PXIe-6556s with no issues until this point. Any thoughts? Thanks in advance.
Monitor multiple ports at the same time on PCI-6528
I would like to monitor all inputs on the PCI-6528 during a certain amount of time (not only one read), such that an eventual digital HIGH can be captured during that period in my C# application. I would also like to know which port and line got the HIGH value if that is possible.
Currently, I have a created a channel using DIChannel:
digitalRead.DIChannels.CreateChannel("Dev0/port0:2", "", ChannelLineGrouping.OneChannelForAllLines);
And I now want to read the ports and then be able to capture any digital HIGH value. How can this be done?
Also a second question: when I read the inputs, the value 128 is read when it is a digital HIGH. Why is the input measured to be 128 and not 1?
Thanks.
Log events
Dear Forum members,
We are using a custom build setup that drives behavioural experiment paired to a microscope. We created a driving program using the NIDAQmx C driver. The program runs an event-driven state machine which reads digital inputs and reacts accordingly with generating digital outputs to drive some instruments (e.g. microscope scanner, water pumps, playing of audio files etc.). The NI card we are using is NI PCIe 6321 X-series.
We seek advice on how we configure the logging of events (either DI or DO change of line). By logging we understand that the system runs a monotonous hardware clock, that has the fastest frequency from the whole system and we would like to log to file the clock step upon event.
Here are the options we came up with:
1.) The card has 2 clocks, should we use one of them as a master clock from the system and read it upon an event?
2.) Should we use DAQmxRegisterSignalEvent on a task and create a CVICALLBACK function to read time upon an even? But is there a way to retrieve event time from task directly?
3.) What about DAQmxConfigureLogging? We could not find a proper example of its functionality. Is it designed with the same purpose?
Any suggestion or helpful advice will be highly appreciated!
Thank you in advance!
G.
what modules to be used
Hi .. i would like to connect the following sensors to a Ni DAQ system:
1. pressure sensor
• Honeywell - HSCMRRN016MDAA5-ND
https://www.digikey.com/product-detail/en/honeywell-sensing-and-productivity-solutions/HSCMRRN016MDAA5/HSCMRRN016MDAA5-ND/4949299
2. hotwire sensor
• Dantec Dynamics
https://www.dantecdynamics.com/miniature-wire-probe-straight
3. force sensor
Forsentek - 3 force comp (30 N capacity) - http://forcesensor.en.hisupplier.com/product-2658821-3-axis-load-cell-three-dimensional-force-sensor.html
i would like to know which voltage input modules should be used and which model of Ni DAQ chasis to be used ?
will those will be ok ? i want to make sure if those will work and if a certain module can make all this sensors work?
Chassis 4 slot NI cDAQ-9174 chassis
http://www.ni.com/en-lb/shop/select/compactdaq-chassis?modelId=125698
pitot tube module (connected to pressure sensor) NI 9215
http://www.ni.com/en-lb/shop/select/c-series-voltage-input-module?modelId=122167
Force Balance Module NI 9201
http://www.ni.com/en-lb/shop/select/c-series-voltage-input-module?modelId=122155
Temp sensor and hotwire NI 9219
http://www.ni.com/en-lb/shop/select/c-series-universal-analog-input-module?modelId=122171
thanks in advance
How can connect USB-6001 Digital Output to a relay?
Hi! I have an USB-6001 DAQ board and I want to use it to control a hydraulic system by using relays. But the digital output of the board is 3,3Vmax and 4mA max if I'm not wrong, and I couldn't find a relay that triggers with that output. The most common relays work with 5V and a much higher current value.
What kind of connection can I do to trigger a 5V relay without needing to create an circuit board?
DAQmx with NI PXI-8840 eMBEDDED CONTROLLER
HII,
I have a problem with the transmition of data throught a NI PXI-8840 for my screm . I don''t know if i can use NI DAQmx as software for the transmission .
in this case my computer is NI PXI-8840 and windows and labview are already intalled. I don"t really know how to do.
thank you for your help
PCI-6542 - generating SPI comunication at high rate
Hello,
We are considering purchasing the PCI-6542 and the auxiliary cable. we need some help determining if we can reach the SPI data rates we need with the card and the setup we are going to use.
The SPI protocol uses 4 wire (data_in,data_out,clk,strobe) 1.8V logic. the strobe is generated by the master and it is a pulse at the end of each byte. the maximum CLK rate is 100Mhz.
We plan to use the PCI-6542 and use 4 I/Os for this purpose. each I/O is configured to have 50ohm source termination and 1.8V logic. we are going to use the SHC68-C68-D4 1m 50ohm cable and connect the other end to the DUT board, inside the board each I/O is routed using a 50 ohm line and terminated at an input of a gate - high impedance input.
Will this setup reach the 100Mhz rate? what is the approximate rate we could get from the card+cable?.
USB-6501 all digital outputs fluctuate when one digital output is toggled on and off
Hi Everyone,
I have an USB-6501 connected to several electro-mechanical relays through digital out which control several solenoid valves. I also have one digital out pin connected to a fluid sensor calibration pin (low (0v) initiates calibration while high does not). When I trigger a single digital output to activate a solenoid valve (low to high back to low) the digital output pin holding the calibration pin high spikes down to low then back up to high immediately after the solenoid valve output goes from high to low. I've probed the digital output connected to the calibration pin with an oscilloscope right when the solenoid valve is turned on and off and have noticed a very noisy signal oscillating between negative 5v and positive 15 volts lasting ~ 100us as soon as the solenoid valve is turned off (high back to low). An image of the oscilloscope trace is attached. This behavior is also seen in other digital output pins, briefly activating other solenoid valves.
I am wondering what is causing the creation of this signal in all of the digital output ports when one port is toggled from low to high back to low. Does anyone have any ideas how to remove this behavior?
Thanks in advance!
USB6509 - Read c#
Hi,
I have a problem with read implementation. I explain you.
I need to read EEprom and so: 3 pin (chipselect, DI, clock) set output mode and 1 set input (DO).
I initialize read port-pin:
private struct PortPinSettingRead { public DigitalSingleChannelReader reader; public Task digitalInputReadTask; public UInt32 pin; } PortPinSettingRead portPinSettingRead; portPinSettingRead.digitalInputReadTask = new Task(); portPinSettingRead.digitalInputReadTask.DIChannels.CreateChannel("dev1/port11/line3", "", ChannelLineGrouping.OneChannelForEachLine); portPinSettingRead.digitalInputReadTask.Control(TaskAction.Verify); portPinSettingRead.reader = new DigitalSingleChannelReader(portPinSettingRead.digitalInputReadTask.Stream);
//READING
public int readDI(){
try
{
return portPinSettingRead.reader.ReadSingleSamplePortInt32();
}
catch (Exception ex)
{
System.Console.WriteLine(ex.Message);
return -1;
}
}
I see by oscilloscope, that when I call readDI() function, the output pin go to 0.
Is it possible?
Thank you
Functional Safety NI 9350
Hi,
I saw that NI released a functional Safety c-series module. If my understanding is good, this module work as a standalone module. Is it possible to use it on an EtherCAT chassis and can we program it or we absolutely need a cRIO controller?
Thank you.
Patrick
Problem with SCC-TC01 module,
Hello colleagues,
I'm using an SCC-2345 box with two TC-01 modules inside.
I am reading temperature of a furnace with them.
The problem is:
1- None of the TC01 units read the temperature correctly.
2- Each of them shows different temperature. I double checked with a handy thermo reader.
I also double checked all wirings, changed the thermocouple wire. Nothing changed.
Please let me add that my two TC01 units are plugged in J7 and J8 slots.
By replacing them with each other, totally different magnitudes is read. J7 shows different temperature compared with J8
Would you please advise me what should I do to overcome this problem?
Best regards,
USB-6501 connector for OEM board
Hi... I have a USB-6501 board that I want to use on a board from another vendor, where that board was really made for the OEM version of the USB-6501. On my USB-6501 (non-OEM) board, it looks like its just has paralleled connections to both my non-OEM board's side connectors and the (on my board) depopulated IDC connector that would be there for the OEM version. Does anyone have the part number of the IDC female right angle connector for the OEM version of the USB-6501? Thanks!
PWM signal is going to 9423 and not the motor
I am trying to measure the PWM signal into a blower. So I wired the NI 9243 in parallel to the blower and I am able to read the digital signal. However, the voltage at 12V and the current at 3mA but the motor still won't get the signal. Is there another way to make this work?
PWM signal is going to 9423 and not the motor
I am trying to measure the PWM signal into a blower. So I wired the NI 9243 in parallel to the blower and I am able to read the digital signal. However, the voltage at 12V and the current at 3mA but the motor still won't get the signal. Is there another way to make this work?