OR PXI-6289 Digital Output Solid State Relay

Hello

I try to control a mechanical solenoid pull using a relay of sold State connected to my PXI-6289. Currently I have the CRDD connected to Port 1 line 4 and use the code provided here http://zone.ni.com/devzone/cda/epd/p/id/6411 . However, every time I run the code, the light on my SSR (wired to show the logic works http://www.adafruit.com/products/268) does not illuminate indicating that there is no signal to be output. Any help in this matter would be much appreciated. If additional information is needed please let me know.

Best,

Brad

Nevermind, problem solved it was just low power.

Tags: NI Hardware

Similar Questions

  • 6008 daq digital outputs to control relays

    Hi all, I'm looking to help create a VI to send out digital to a daq 6008 to control relays. What I'm trying to do is when you press start and a condition is met send a digital output to control a relay for 30 seconds or so to take a measured voltage to be taken an analog voltage. After 30 seconds, I want the first relay to switch off and the next relay lights for the same amount of time. I want to continue this sequence to 7 readings, blood for every step and send the data to an excel file. I know it's basic stuff, but my experience with labview is limited! Any help would be greatly appreciated.

    Thank you

    Paul

    Hi Paul,.

    I looked on your problem this afternoon and I agree completely Fan Ravens that the state machine is in fact the most appropriate architecture for such a task of data acquisition. A state machine architecture is one of the most commonly used in LabVIEW design patterns and is especially suitable for any program where you have clearly defined the steps that can be represented by the States and rules for the transition between these States.

    There is a model of Machine of State Standard contained in LabVIEW which should give you an idea of the underlying architecture and is a good starting point. To give you a better idea of how this architecture can be applied to a data acquisition task, I would recommend that you look at This example. Although States will be slightly different in your case, this should provide you with a good understanding of how you can architect such a request.

    I hope this helps.

    Best regards

    Christian Hartshorne

    Technical sales engineer

    National Instruments UK

  • I can parallel two solid state relay ports for a maximum current of 1 AMP USB-6525?

    Hello

    I plan use USB-6525 to change a PSU 7VDC/1 AMP DC.

    USB-6525 having only 500 my maximum current for each channel, I can two parallel ports of relay to solid state for a maximum current of 1 AMP?

    Is it safe to use in this way?

    If not, is there any other USB device can provide 1 channel AMP relay?

    Thank you

    Ben

    Hi Ben,

    Yes you can do this, please refer to the KB, it contains the information you need

    Can I use several relay on one device to allow power to pass?

    Kind regards

    Margasan

  • PXI-6120 digital output frequency

    Hello

    before that I have to post my question some technical information:

    LabVIEW: 2011.

    IO digital 8 PXI-6120.

    I read the user manual and search the Forum and there is no reference to the frequency of digital output (only for a meter).

    My question is what is the maximum frequency that I can generate outputs digital?

    The best I could do is 50 kHz using the example.

    Thank you

    Sokal


  • USB-6289 digital output signals setting

    I use a USB-6289. I am writing a CVI application that uses this device. I need to put the digital i/o pins as outputs. In the CVI app, I know I can create these tasks with the tools-> create/edit DAQmx tasks. He created this:

    Int32 CreateDAQTaskInProject(TaskHandle *taskOut1)
    {
    Int32 DAQmxError = DAQmxSuccess;
    TaskHandle taskOut;

    DAQmxErrChk (DAQmxCreateTask ("DAQTaskInProject", & taskOut));

    DAQmxErrChk (DAQmxCreateDOChan (taskOut, "USB-6289/port0", "))
    "DigitalOut", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxSetChanAttribute (taskOut, "DigitalOut", DAQmx_DO_InvertLines, 0));

    * taskOut1 = taskOut;

    Error:
    Return DAQmxError;
    }

    So this it puts in place but not to write the data. My question is what is the command to write the data?

    Also I was wondering if the code source of any example that shows how these commands are made? Is it possible to configure the bits individually? I only need to use 5 of these pins as outputs so t would be coll if I could write that the bits D0 - D4.

    Are there documents written on these commands and how they are used?

    Thanks in advance

    A DAQmxWrite writes the data.

    Go to help > examples > material input and output > DAQmx > digital generation.

    If you specify the lines instead of a port, you can use as the number of bits you want.

    First glance using the ICB.

  • Digital output is not 5V when connected to a circuit

    I have a very simple circuit I want to operate a valve. I have a NI USB 6008 with 12 digital i/o ports, a KF0602D solid state relay, 12V power and a solenoid valve.

    The idea behind this circuit is pretty simple: use a digital line of the 6008 to close or open the switch in the KF0602D. With the switch closed, current flows from the power supply through the switch, to the valve and that opens. When the switch opens no current flow and the valve closes.

    When I plug my 6008 in the KF0602D, however, my 'high' digital output falls from 5V to 1.73V. It's a problem because my switch requires at least 3V to close. I don't know why the voltage decreases because the relay is supposed to just on 3mA current with an input 5V, wells in the area of the specs listed 6008. What can I do to make this work?

    Outputs digital USB-6008 are drain opened with pull-up 4.7 kohm resistors. This will NOT lead your SSR entry requiring > 2 my.

    He must reverse the polarity of your control signal. Wire-entrance of the Republic socialist Soviet to the line of the 6008.  Wire the + input of the Republic socialist Soviet to + 5 V. Then you have the 8.5 my driving ability to do what you want.

    Lynn

  • Digital output of 6289 USB to the function generator

    Hi ppl.

    I have a DAQ USB-6289 card I use M series to interface with a programmable frequency AD 5932 generator (hope it's not breaking all the rules)

    In the datasheet of the http://www.analog.com/en/rfif-components/direct-digital-synthesis-dds/ad5932/products/product.html AD5932

    It is the interface series (FSYNC, SCLK, SURLABASEDESDONNEESDUFABRICANTDUBALLAST).

    I'm using LabVIEW to generate a digital output and help the Council 6289 to send the signal to the ad5932.

    The problem is the following:

    (1) I am an engineer in chemistry and new LabVIEW and electronics

    (2) I don't understand how the digital signal and the FSYNC SCLK and SURLABASEDESDONNEESDUFABRICANTDUBALLAST are related... Sorry for the very basic question...

    Hope that's not too much to ask, but if someone could suggest a tutorial or examples it would be EXTREMELLY appreciated...

    Thanks for any input because I'm really stuck on this point.

    See you soon

    You need to find is the complete technical data on the A/D. Who will explain what each of these pins and the time served. It looks like an SPI interface. OR sell the 8451 for this programming. You can or perhaps are not able to use the 6289. I recommend a search of "SPI" to see if anyone has created a VI.

  • PXI-6527 digital i/o ports does not

    I couldn't get my two PXI-6527 work.

    In MAX, my devices are recognized, they pass the self test, and I can set high or low output on a specific port and a line on the PXI-6527 using the test Panel. When I take a measure to that line, say-5,7 to + 5.7 (port 5, line 7), I do not read any voltage. I tried the same thing by using one of the digital outputs LabView examples, without a bit of luck. I tried several different ports and lines on maps two PXI-6527.

    When I measure the PIN "GND" to the "+ 5V" pine, I read 5V on my multimeter.

    I have several other DAQ with e/s digital equipment on them (PXI-6025E, PXI-6704, PXI-6221), and I managed to create on the digital I/o output voltages.

    Y at - it something that I do bring my digital output signals to PXI-6527 maps.

    Hey Jake,

    The output of a device 6527 channels are static relays with a LED and two MOSFETS connected together to form a two-way switch. The output channels will not output a TTL 5 V signal without providing an external source. Using the V + 5 of unit 6527 line allows you to use it as a TTL level with power not isolated output device. See sections 3-10, 3-11 6527 user manual as a reference for the above information.

    Thanks for choosing National instruments.

    Kind regards

    Glenn

    Technical sales engineer

    National Instruments

  • Z1 HP workstation: C: drive system image backup internal solid state

    My professional job to Z1 HP with Windows 7 has 370 GB used space on the C: drive and 146 GB free.

    I want to copy / clone a 'System Image backup"from my internal C: drive to an external hard drive.

    'WD My Passport Ultra', 1 TB Western Digital.

    I heard that the combination "backup system image" in Windows and target disk Western Digital "WD My Passport Ultra' may be problematic.

    Does anyone have experience with this and y at - there a better alternative?

    An external hard drive with 1 TB of storage space will be "worthy" my 463 GB solid state internal hard drive C:?

    Thanks for the comment.

    steinarV wrote:

    My professional job to Z1 HP with Windows 7 has 370 GB used space on the C: drive and 146 GB free.

    I want to copy / clone a 'System Image backup"from my internal C: drive to an external hard drive.

    'WD My Passport Ultra', 1 TB Western Digital.

    (...)

    An external hard drive with 1 TB of storage space will be "worthy" my 463 GB solid state internal hard drive C:?

    Thanks for the comment.

    Hello

    Thanks for posting in the Forum from HP Support.

    Personally, I have not heard of specific issues with this WD HARD drive. I Googled it and found some non-specific stuff.

    However, to answer your question: in my view, there is no problem with the 1 TB external harddrive to adapt the SSD from below 500 GB. Therefore larger than GB 463, less than 500 GB, 1 TB, it should fit without problems. There is no problem for cloning SSD and HARD drive imaging (the only problem is that it might be a bit slower, but no problem to do so).

  • What are the advantages and disadvantages of using iCloud drive (or other Cloud services) compared with iTunes game against external hard drive, Solid State etc. to store my songs iTunes, playlists, ratings etc?

    First question: what are the advantages and disadvantages of using iCloud drive (or other Cloud services) compared with iTunes Match against Solid State external hard drive etc to store my songs iTunes, playlists, ratings etc?

    Please let me know what are the alternatives for storage of my songs, playlists, song etc. other than iTunes game ratings ($ 24.99 / year)?  Is there a way to store all my songs with my song ratings, playlists, etc. with a CD song quality? Most of my (currently 130 GB) songs on my computer are CD quality that I prefer to keep as well as my notes of each song (i.e. 5 * vs. 4 * etc.), playlists, groups (music, classical, popular, country etc.).  What are the advantages and disadvantages to store my iTunes songs while CD quality with my personal notes, reading lists, groupings in the cloud?  ICloud of Apple Drive ($ 2.99 per month or $36 / year for 200 GB) would be the best way to automatically update and maintain my rankings iTunes personal including the future editions of the song etc or using Amazon, IBM, Microsoft etc cloud or an external hard drive SSD would work as well and maybe cheaper?  I currently have my iTunes on a PC of 2007 with vista (I use a 1 8T Western Digital external upward by car for my personal info all over HP, songs, photos etc. which is currently close to 170 GB) but also have an Apple i-phone 6 & I Air cushion.  Although I did not need to have all of my music with all their sides, etc. available on all of my devices at all times as iTunes game, I still would have easy access to information on both my PC and my iPhone or iPad?  Thank you.

    In my opinion?

    I back up my data to an external drive for several reasons.  The first is my data - if I put on the cloud, someone else has control over it, they can see what I have and change the preferences to what they see of marketing.

    Almost as important as that - if I had to rely on the cloud whenever I wanted to update my playlists on my phone, I need a better internet connection I have now (working at sea).  To get the best out of the cloud, you need a solid link to home, work or mobile.

    As a spin-off - I hate the fact that Apple take away a feature in their software updates and then allow an app to be sold in their store to replace this feature - or worse still, some features that were available before the updates are now "cloud only."  And Yes - you have to pay for the cloud.  I like most of the people do not appreciate the 'accomplished fact. "

    From the back of the external hard drive ASI downside, is that to be safe, you need to store outside in a separate computer place.  If keep you them together, if one is lost, probably, they are both.  That is to say for me a full backup before you travel, then a new upward as soon as I go home.  Downside is how much data may be lost between the two back ups if I needed to restore.  For me, its worth the risk.  If I was away and say had bought a ton of new music and couldn't go home anytime soon, I can always head to the store and buy a new external drive, they are massively expensive.  Even if my computer has to go for repair and my remote is to halfway around the world - I want to buy a new one.

    Now, some will say that once you buy a new external, you spend more than you would on a cloud subscription.  It's true, but in the 6 years following the purchase of Mac that I've only had to buy a new external once - so with a little luck and planning - it works.

    I left took well - I am not a subscriber of cloud, nor do I want to be.

  • NI USB-6501 digital output problem

    Hello

    I use DASYLab v.11 and I'm working on an interface with the NI USB-6501 where I'm putting a digital high on four ports.

    With the module "NOR-DAQmx - digital input", I managed to read the digital inputs of the ' NI USB-6501 ".»

    It's only the "NOR-DAQmx - digital output" I can't go to work.

    Using 'NI MAX' of NOR I have easily can emmit my four LEDs in the way of my High/Low ports.

    But not with DASYLab. When you use DASYLab tension on the ports remains unchanged.

    Now, I have a switch module, generating 5/0, directly connected to the digital output module, which is assigned to my four output ports for my task.

    I also tried with a module of relay between the two without success. I also tried to use 1.5 above instead of 5 without success.

    I use the option 'Bus (0/5 supply) for the module "Digital output".

    "NI Max", I configured the ports as "active drive.

    Any suggestion of what I might be missing?

    Thank you

    Martin

    Hmm, four ports, or four lines?

    A port consists of eight lines. Each line can control an LED (ON / OFF ~ 0/5V).

    If you have created a task to dig-out to control a port, 5V to this port sending sets all lines of this port to 'high '.

    You need to 255 for each line one too high port (at the bit level: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1).<- eight="">

    Or, you can create a dig out tasks to control four lines of a specific port.

    Four lanes of the EEG DAQmx DigOut module.

    Each of the channels of the modul will feed a single line of the task/device.

    Four switches will then turn the lights, or turn off.

    Make sure, that the 'bitposition' is the number of correct line (see picture).

  • separation of two edges using a digital output

    I am using a DAQ, PXI-6229 map and programming in c# .net.

    I'm claiming a falling edge on PFI12 used as a digital output, and I need to measure the time between this edge and a second front on PFI8 used as a digital input.  I have implemented the code using some examples I found.  I don't know when to to argue the signal on PFI12 in order to be read at the right time.  Playback must be put in place before the signal is asserted, but I do not know how to set it up it up properly.

    Here is the code I have so far:

    Public Sub MeasureAcquisitionTime()
    {
    DigitalSingleInputTask = new Task();
    CIChannel counterSetup;
    firstEdge = CITwoEdgeSeparationFirstEdge.Falling;
    secondEdge = CITwoEdgeSeparationSecondEdge.Rising;
    Double minTime = 10-3;
    Double maxTime = 60F-3;
    String auxCounterInput = "/" + CardName + ' / PFI12 ';
    String gateCounterInput = "/" + CardName + ' / PFI8 ';
                
    counterSetup = DigitalSingleInputTask.CIChannels.CreateTwoEdgeSeparationChannel)
    CardName + ' / ctr1 ', 'counter',
    minTime,
    maxTime,
    firstEdge, secondEdge, CITwoEdgeSeparationUnits.Seconds);
    counterSetup.TwoEdgeSeparationFirstTerminal = auxCounterInput;
    counterSetup.TwoEdgeSeparationSecondTerminal = gateCounterInput;
    DigitalSingleInputTask.Control (TaskAction.Verify);
    runningDigitalTask = DigitalSingleInputTask;
    counterInReader = new CounterReader (DigitalSingleInputTask.Stream);
    Double data = counterInReader.ReadSingleSampleDouble ();
    }

    I'm glad to hear it.

    paofthree wrote:

    Is there a way to make a measure of separation of two edges on the analog inputs of the PXI-6229?

    The only way would be to constantly acquire the analog input voltage and calculate the separation of the two edges in the software.

    Best regards

  • Measure the time difference between a digital output and an analog input that responded to the questionnaire

    Hallo,

    I use the following system:

    • OR PXI-1044 with controller NI PXI-8109

    • OR PXI-2564 switch module to turn on the monitor of my test device

    • Data acquisition multifunction NI PXI-6259 to measure the signal that responded to the questionnaire jump

    The two cards are the same - PXI trigger bus. For both, PXI-2564 and PXI-6259 I use DAQmx to set the reading and writing of the channels.

    Now, I want to measure the time between the digital output, my unit turns and the analog input, which measures the response of my system.

    I can't do work by myself, please help me!

    I thank Ludwig.

    Hi Ludwig,.

    If you can't give us any VI we have difficulties with to help you.

    Because I Donat knowledge how your program is mounted it is not easy to know where you should enter signals.

    Here's a question similar to yours:

    http://forums.NI.com/T5/LabVIEW/best-way-to-measure-time/TD-p/178704

    and 2 external links:

    http://www.ehow.com/how_8698983_measure-time-LabVIEW.html

    http://objectmix.com/LabVIEW/385152-how-can-i-use-LabVIEW-measure-time-between-analog-pulses.html

  • PXI-6289 DAC takes a lot of time defining

    I use a PXI-6289 and a controller SMU-8101. The controller is configured with an operating system in real time. Recently, I moved to LabWindows/CVI 2012-2013. When I made changes to my application on the PXI system, I had to update the software on the PXI system so it would be compatible with the software in the LabWindows/CVI. After I did I recompiled my application PXI and noticed a bad behavior. I finally reduced to the part where I'm putting the DAC on the PXI-6289. I noticed that it takes 80ms to alter the output DAC. I have I think maybe installed software that has some compatibility issues with the OS for real-time PXI. The software installed is the driver OR DAQmx 9.7.5. Anyone had similar problems?

    Would probably not noticeable in most applications, but I can see it because I'm able the transient response of a RC filter so I'll try to catch changing the setting DAC while I'm acquires a waveform with ESA. As I said this only started happening after I moved out of LabWindows/CVI 2012-2013, so I think it may be the software. An excerpt from fo code that defines data acquisition; Maybe there is a better way to do this.

    DAC_statusMessages_t SetDACoutput (dual output)
    {
    DAC_statusMessages_t status = DAC_OUT_STATUS_OK;
    float64 VoltageLevel;
    char ErrorMessage [DAC_ETHERNET_MESSAGE_LEN];
    char DAQ_ErrorMessage [DAC_MESSAGE_LEN];
    TaskHandle taskDACOut;
    returnDAQmx_status of Int32;
    char DeviceName [AO_6289_CHAN_TEXT_SIZE];

    strncpy (DeviceName, PXI_6289_NAME_STR, sizeof (DeviceName));
    strncat (DeviceName, DAC_OUT_CHAN_0, sizeof (DeviceName));
    VoltageLevel = (float64) (output);

    returnDAQmx_status = DAQmxCreateTask ("DACOutTask", & taskDACOut);
    If (0! = returnDAQmx_status)
    {
    strncpy (ErrorMessage, "CAD a mistake:", DAC_ETHERNET_MESSAGE_LEN);
    DAQmxGetErrorString (returnDAQmx_status, DAQ_ErrorMessage, DAC_MESSAGE_LEN);
    strncat (ErrorMessage, DAQ_ErrorMessage, DAC_ETHERNET_MESSAGE_LEN);
    strncat (ErrorMessage, "\n", DAC_ETHERNET_MESSAGE_LEN);
    SendRT_ErrorMessage (ErrorMessage);
    Disable the task
    DAQmxClearTask (taskDACOut);
    Return DAC_OUT_STATUS_NOK;
    }
    returnDAQmx_status = DAQmxCreateAOVoltageChan(taskDACOut,DeviceName,"",-10.0,10.0,DAQmx_Val_Volts,"");
    If (0! = returnDAQmx_status)
    {
    strncpy (ErrorMessage, "CAD a mistake:", DAC_ETHERNET_MESSAGE_LEN);
    DAQmxGetErrorString (returnDAQmx_status, DAQ_ErrorMessage, DAC_MESSAGE_LEN);
    strncat (ErrorMessage, DAQ_ErrorMessage, DAC_ETHERNET_MESSAGE_LEN);
    strncat (ErrorMessage, "\n", DAC_ETHERNET_MESSAGE_LEN);
    SendRT_ErrorMessage (ErrorMessage);
    Disable the task
    DAQmxClearTask (taskDACOut);
    Return DAC_OUT_STATUS_NOK;
    }
    /*********************************************/
    Starting code DAQmx
    /*********************************************/
    returnDAQmx_status = DAQmxStartTask (taskDACOut);
    If (0! = returnDAQmx_status)
    {
    strncpy (ErrorMessage, "CAD a mistake:", DAC_ETHERNET_MESSAGE_LEN);
    DAQmxGetErrorString (returnDAQmx_status, DAQ_ErrorMessage, DAC_MESSAGE_LEN);
    strncat (ErrorMessage, DAQ_ErrorMessage, DAC_ETHERNET_MESSAGE_LEN);
    strncat (ErrorMessage, "\n", DAC_ETHERNET_MESSAGE_LEN);
    SendRT_ErrorMessage (ErrorMessage);
    Disable the task
    DAQmxClearTask (taskDACOut);
    Return DAC_OUT_STATUS_NOK;
    }

    /*********************************************/
    DAQmx write code
    /*********************************************/
    returnDAQmx_status = DAQmxWriteAnalogF64(taskDACOut,1,1,10.0,DAQmx_Val_GroupByChannel,&VoltageLevel,,);
    If (0! = returnDAQmx_status)
    {
    strncpy (ErrorMessage, "CAD a mistake:", DAC_ETHERNET_MESSAGE_LEN);
    DAQmxGetErrorString (returnDAQmx_status, DAQ_ErrorMessage, DAC_MESSAGE_LEN);
    strncat (ErrorMessage, DAQ_ErrorMessage, DAC_ETHERNET_MESSAGE_LEN);
    strncat (ErrorMessage, "\n", DAC_ETHERNET_MESSAGE_LEN);
    SendRT_ErrorMessage (ErrorMessage);
    Disable the task
    DAQmxClearTask (taskDACOut);
    Return DAC_OUT_STATUS_NOK;
    }
    g_SetDACActual = GetTimeUS();  get the time to sort out how often this function is taken at the end
    Disable the task
    DAQmxClearTask (taskDACOut);

    return the situation;
    }

    I found that the SetDACoutput() function takes 80ms to complete. I fixed it by this function split in three functions

    Create and configure the task

    The value of the DAC

    Disable the task

    I create and configure the task at the beginning of my request. And disable the task at the end of my request. During the test I only cal DAQmxWriteAnalogF64().

    It has worked well. Still do not understand why the times changed so much LabWindows/CVI, but work around is better still.

  • Moment of the digital output

    I use a PCI-MIO-16-1, and I'm trying to create pulses on each of the three digital outputs, using a hardware trigger.  I got a solution that sort of market by using a loop timed; the loop runs once per trigger, and inside the loop, I use avoiding to turn each of the three outputs at the right time.

    However, the problem is that the 1ms resolution of the timing of software is not good enough.  So I try to find a way to do it using equipment, so I can get a finer resolution.

    What I tried to do recently is to create a redeclenchables on one of the counters pulse train (using the example generate digital Pulse Train-finishes-redeclenchables) and use it as a trigger for the timed loop.  I can get the pulse train to give me three ticks for every time that I get a hardware trigger and then put a state machine inside the loop to turn each of the outputs.  (I am currently divide the material into three equal segments trigger.)

    However, although I can generate the pulse train very well on one of the counters, I can't manage to get the timed loop to use this counter as its source of the moment.  How can I do?  Or does anyone have a better idea how to do that?

    Unfortunately, the card you have does not allow for hardware timekeeping DIO. M series and recent X series Multifunction DAQ devices allow such a task. If you want, I can have a technical representative contact you to discuss your request and provide appropriate suggestions to optimize your application.

    Kind regards

    Glenn

    Technical sales engineer

    National Instruments

Maybe you are looking for