Subscribe: Digital I/O
http://forums.ni.com/rss/board?board.id=70
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
card  daqmx val  daqmx  data  dev  digital  errorcheck  ich  labview  output  outputs  pfi  pwm  signal  taskhandleao  time  val 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Digital I/O

Digital I/O topics



Digital I/O topics



Published: Tue, 21 Nov 2017 04:56:22 GMT2017-11-21T04:56:22Z

 



Multiple digital outputs with BNC-2115

Fri, 17 Nov 2017 11:19:42 GMT2017-11-17T11:19:42Z

Hi,

 

I have an assumption that BNC-2115 provides 24 digital I/O via BNC connectors P0.(0..7), P1.(0..7) and P2.(0..7). Is this correct? 




PXIe-6535 generate pulse signal

Tue, 14 Nov 2017 21:01:44 GMT2017-11-14T21:01:44Z

Hi Folks,

 

I'm trying to figure out how to create pulses on a digital output line on my PXIe-6535.  I'm painfully new to this sort of thing.  I'm trying to figure out how to do this programmatically via python using ni-daqmx.  I need to be able to control the frequency of the pulse to within a msec... 

 

Can someone point me in the right direction?

 

Thanks!




PCI-6519 compatibility with Real Time OS (pharlab)

Tue, 14 Nov 2017 09:21:59 GMT2017-11-14T09:21:59Z

Hi

I want to buy PCI-6519. but I have two question:

1) Is this card compatible with labview real time OS (Pharlab)? On the other hand, I have a real time desktop PC and I want to insert the PCI card to this PC.

2) Does this card has Earth to ground Isolation? On the other hand, Does the body of the PCI card connected to the GND of the card?

Regard




PCI-1720U

Mon, 13 Nov 2017 18:19:20 GMT2017-11-13T18:19:20Z

Hi, I bought the PCI-1720U  analog output card . During the laboratory's investigation, due to an error,   15 volt DC connected to the output of a card channel , and then I could not get data from card again. Is there a serious problem with the card? 

 




PXIe 6547, inverse the reference clock (CLKIN) edges

Wed, 08 Nov 2017 21:09:15 GMT2017-11-08T21:09:15Z

PXIe 6547, how to inverse the reference clock (CLKIN) edges? is there any HSDIO function to inverse/control the ref clock?




Reboot resets NI 9476

Tue, 07 Nov 2017 16:13:14 GMT2017-11-07T16:13:14Z

I am using an NI-9476 module in a cDAQ system (NI cDAQ-9133 Controller) to control some pneumatic valves.  My software "environment" is Labview 2015 and Windows 7 embedded.  My problem is that when the operating system is re-booted, the NI-9476 outputs are reset.  I would prefer that they be un-altered during a re-boot so that the valves remain in their state at the time of reboot -- instead of all closing.  Is there any way to disable the reset-on-reboot feature?




9402 maximum Output Current for driving Broadcom HFBR-1521 LWL Transmitter

Thu, 02 Nov 2017 07:51:24 GMT2017-11-02T07:51:24Z

Hello,

I would like to connect a Broadcom HFBR-1521 LWL Transmitter to the NI 9402 DIO in a cRIO-9063 cabinet.

What is the maximum Output Current of the 9402?

If it is below 20mA I'm going to use an additional driver.

 

Best Regards,

Chris




PXI-6541 Configuring Input/Output Channels

Wed, 01 Nov 2017 21:45:22 GMT2017-11-01T21:45:22Z

We have a test system with PXI-6541 digital waveform card that has never been used.  I'm helping the test person debug the Labview program. 
It appears the channels being used as inputs always have the 50 ohm driver active.  In the product specification in the Generation Channel table,  I see reference to "Data channel driver enable/disable control - Per Channel - Software Selectable".     So does that mean if we need a DIO to be input only with high impedance the driver needs to be disabled?   I am new to Labview so am not entirely clear on how the person is setting up the DIO as inputs and outputs but he described it as simply assigning a channel as IN will turn off the associated driver.

 

 




Compact Daq cDAQ maximum PWM outputs? PWM output module availability?

Tue, 31 Oct 2017 18:07:57 GMT2017-10-31T18:07:57Z

Hello.  Is the cDAQ limited to 4 hardware PWM outputs?  I realize that there are 4 counters available on cDAQ chassis and these can be accessed with a digital I/O module.  I am currently using a NI-9401 to access the chassis counters to generate 4 hardware PWM outputs.  I would like to add a 5th...  Is there a cDAQ module that can accommodate hardware/PWM output?  Thanks.  Dan




LVDS from NI5782

Tue, 31 Oct 2017 08:55:38 GMT2017-10-31T08:55:38Z

Please tell me how to make a digital signal output from NI 5782 via AUX to the LVDS receiver. Interested in the electrical circuit connections and an example of a VI for the supply of test signals.




Looking for Frame Grabber

Thu, 26 Oct 2017 08:11:57 GMT2017-10-26T08:11:57Z

We are looking fo Mateor2 Dig 64L REV.A (601version) which will be embedded in Retcam2 medical device.

We once tried with Meteor2-DIG/4/L REV02 but it seems it is not compatible to each other.

No matter it is used or new product.

 

Thank you

 




Digital Output 6052E BNC-2111

Wed, 25 Oct 2017 22:41:31 GMT2017-10-25T22:41:31Z

I am trying to generate digital signal using 6052E DAQ and BNC-2111. I used NI-MAX test panel to make sure that I can generate Digital output using this DAQ and BNC, but the problem is that the output of the channels do not change when I set them from Low to High. I am trying to control a 4 way relay with this DAQ so I need 4 different DOs. I can use the 2 AO to simulate DO. The problem is that PFI0, CTR1, AO EXT REF, AO 0 and AO 1 are always 0 Volt and PFI2, PFI7 and CTR 0 are always 5 Volt.




real time binary data transmission using USRP and PSK modulation, labview communications suite

Tue, 24 Oct 2017 16:44:25 GMT2017-10-24T16:44:25Z

I have been working with the student lab manual and learning materials for the USRP by Bruce A Black.
Included with this are a few labview communications suite examples, showing how to BPSK/QPSK modulate and demodulate data - however, these Vi's use the MT Generate Bits function, which to my understanding generates a random bit-sequence to then modulate and send.

i am interested how to modify the transmitter / receiver programs in order to a accept real time binary input of data and thus modulate it via BPSK or QPSK (depending on the example), send this across a channel, then receive and demodulate the said data stream on the output in real time.

...basically, how do i replace a 'MT Generate bits' function, with an input real-time binary data-stream?
and would i also need to modify anything else? or is it just a case of swapping out the bitstream generator for actual data?

Thank you very much







The cable model SHC68-C68-RDIO2 can be replaced by SHC68-C68-D4?

Mon, 23 Oct 2017 20:00:19 GMT2017-10-23T20:00:19Z

Hi

 

Is it possible to use the cable SHC68-C68-D4 in to a NI PXIe-7821R board?

 

Thanks,




Treiber in Installer integrieren macht probleme (NI Usb-6008 + Redlab Temp)

Mon, 23 Oct 2017 13:26:06 GMT2017-10-23T13:26:06Z

Hallo liebes Forum,

ich schreibe zur Zeit an meiner Bachelorarbeit.

Thema:

Konzeption und Bau eines Lehrversuchs (...)

Ich habe den Lehrversuch gebaut und mit Messtechnik vollgestopft. Soweit, so gut!

Auch mit Labview 15  habe ich dafür eine schöne Oberfläche entworfen (hat sehr viel Spaß gemacht), die Auswertung der Daten Funktioniert Wunderbar..... Also wenn man das so liest ein echter Traum!

Jetzt die Schattenseite!

Mein Professor hätte gern eine Standalone Version, sodass man nicht Labview direkt auf dem PC haben muss und sich andere Professoren das Gerät ausleihen können. Also plug and play...

USB-Stick zur Programm Lagerung ist im Gerät verbaut über ein hub angeschlossen, genau wie das Usb-6008 und Redlab Temp.

Das eigentliche Problem

Die "EXE" kann ich erstellen, geht es dann zum "Installationspacket" kann ich es erstellen und auf einem anderen Pc installieren ABER ich bekomm keine Werte geliefert, bzw. er holt sich Werte irgendwo her die nichts mit dem Lehrversuch zu tun haben. Im Bild zu erkennen wirft er hier irgendwelche Kurven raus.(image)

Den Uni-Laptop hatte ich erst einmal ein paar Stunden Updaten lassen, hat aber nicht soviel gebracht.

Könnte mir Jemand erklären welche Einstellungen ich vornehmen muss und welche Treiber ich wie einbinden kann (Bitte auch für das NI Fremde Produkt der Firma Meilhaus)?

Heut ist der 23.10.17........ Meine Abgabe ist am 25.10.2017 (image)

 

Liebe Grüße




Need Examples using USB-8452 with C#

Thu, 19 Oct 2017 13:37:23 GMT2017-10-19T13:37:23Z

I would like to use the NI USB-8452 with Microsoft C# and Visual Studios 2013.

I found the  NI Knowledge Base paper: "How Can I Access USB-845x API Function from a C/C++ Program?"

 http://digital.ni.com/public.nsf/allkb/F997E364CFAA63F6862573540064C028

Although This was very helpful, I am still having trouble converting it to C#.

Does anyone have any examples, specific to C#, that they can share with me?

Thanks,

Ken




Looking for Discrete Card

Mon, 16 Oct 2017 14:37:26 GMT2017-10-16T14:37:26Z

Hello everyone

I'm looking for a card that will have the following minimum I/O requirements:

24x GND/Open 

2x 28Vdc/Open

 

Could anyone suggest me something from where I can start digging?




Analog and Digital clock synchronization error (

Fri, 06 Oct 2017 14:39:10 GMT2017-10-06T14:39:10Z

I'm currently working on a project where my digital and analog outputs must be done simultaneously. I wanted to setup a basic test file in C but I keep getting an error message, namely code -200077.

 

DAQmx Error: Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.
Property: DAQmx_SampTimingType
Requested Value: DAQmx_Val_SampClk
Possible Values: DAQmx_Val_OnDemand

 

The code I have thusfar:

#include 
#include 
#include 

void errorCheck(int func)
{
	if (!DAQmxFailed(func)) return;

	char errBuff[2048] = { '\0' };
	DAQmxGetExtendedErrorInfo(errBuff, 2048);
	printf("DAQmx Error: %s\n", errBuff);
}

int main(void) 
{
	float64 dataAO[1000] = { 0 };
	float64 dataDO[1000] = { 0 };

	// Analog
	TaskHandle taskhandleAO = 0;
	errorCheck(DAQmxCreateTask("Analog", &taskhandleAO));
	errorCheck(DAQmxCreateAOVoltageChan(taskhandleAO, "Dev1/ao0", "", -10, 10, DAQmx_Val_Volts, ""));
	//errorCheck(DAQmxSetWriteRegenMode(taskhandleAO, DAQmx_Val_DoNotAllowRegen));
	errorCheck(DAQmxCfgSampClkTiming(taskhandleAO, "", 100.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000));

	// Digital
	TaskHandle taskhandleDO = 0;
	errorCheck(DAQmxCreateTask("Digital", &taskhandleDO));
	errorCheck(DAQmxCreateDOChan(taskhandleDO, "Dev1/port0/line0", "", DAQmx_Val_ChanPerLine));
	//errorCheck(DAQmxSetWriteRegenMode(taskhandleDO, DAQmx_Val_DoNotAllowRegen));
	errorCheck(DAQmxCfgSampClkTiming(taskhandleDO, "ao/SampleClock", 100.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000));

	errorCheck(DAQmxWriteAnalogF64(taskhandleAO, 1000, 1, 10.0, DAQmx_Val_GroupByChannel, dataAO, NULL, NULL));
	errorCheck(DAQmxWriteDigitalLines(taskhandleDO, 1000, 0, 10.0, DAQmx_Val_GroupByChannel, dataDO, NULL, NULL));

	errorCheck(DAQmxStartTask(taskhandleDO));
	errorCheck(DAQmxStartTask(taskhandleAO));

}

 What am I doing wrong?




Configure routed PFI as output on PCIe-6536B using NIDAQmx C interface

Fri, 06 Oct 2017 12:57:09 GMT2017-10-06T12:57:09Z

I have an NI PCIe-6536B, which I am interacting with using the NIDAQmx C API and NI MAX.

PFI5 takes input to the NI card. I want to route that signal to PFI1 and drive that signal out from the NI card. Whatever PFI5 reads, I want PFI1 to drive.

Now, when I call

 

DAQmxConnectTerms("/Dev1/PFI5", "/Dev1/PFI1", DAQmx_Val_DoNotInvertPolarity);

PFI1 still does not react to stimulus on PFI5.

 

 

I am guessing that I need to configure PFI1 as an output. How do I do that?

I tried creating and starting a digital output task for /port4/line1 which is apparently another name for PFI1. But when I then called DAQmxConnectTerms as above, I got:

 

Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
Source Device: Dev1
Source Terminal: PFI5
Destination Device: Dev1
Destination Terminal: PFI1

Required Resources in Use by
Task Name: task
Source Device: Dev1
Source Terminal: Software
Destination Device: Dev1
Destination Terminal: PFI1

Status Code: -89137

How do I configure PFI1 as an output?

 




PWM signal is going to 9423 and not the motor

Wed, 04 Oct 2017 17:49:05 GMT2017-10-04T17:49:05Z

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?