How to send out two analog signals

hi
I'm running Labview 10.0 with a PXI controller 8196 with with an M-series DAQ board 6289 which has 4 analog out ports. What I have done is create a statemachine which controls a multi LED board (57 LEDs arranged in 7 concentric circles, with a centre LED). The state machine moves between various states such as Fixation point on, Fixation point off, Target on, Target off. At the moment I have one Analog out port which outputs a voltage to tell me which state I am in, but I want to know how to configure a second port to say which LED I am turning on. I am controlling the LED with the digital out, and converting a binary to a digital code so I was just going to convert that digital code (by diving it by some factor) and write out that factor to a second port. I've read I can not confiure two Analog out ports on the same board, but instead I have to cluster the outputs together, I'm just not sure now to do that. I've attached my main vi as well as the two subvi's that the main vi calls. I've looked at some of the other threads and the suggestion was to close one port to open the other, that's just not possible in my case as I need to keep both channels open throughout the whole program as the analog out is constantly changing. I'm also recording from up to 25 analog channels at the same time.
Thanks in advance
NB. I could only add two of the sub vi's that the main program calls, so the main vi will not work, so if need be I can post the other sub vi in an additional post.
Attachments:
VisDisplay_v1.vi ‏121 KB
Build Table_v3.vi ‏45 KB
LEDon.vi ‏24 KB

Hi
For one of the channels it is a stepping voltage which changes between +/- 5 volts depending of which state of the statemachine the program is in, so it is not just a constant voltage through out the whole task. On the second channel I want to out put a single voltage that would signify which LED is turning on, that would just be a constant voltage, but it would not be the same voltage on both channels. I'm just about to try something else and hopefully that will work.
Thanks
Sam

Similar Messages

  • How to make a synchronous acquisition of two analog signals with a one channel DAQ ?

    Hi !
    It is the first time I use Labview. I have just made some easy VIs, and now, I do not know how to deal with my problem...
    My problem : I have only one acquisition card (DAQ Ni 6034E) and I would like
    to acquire simultaneously two analog signals. It seems to be possible, in a quasi-synchronous acquisition if the card acquires one point of the first signal, then the first point of the second signal, then the second of the first signal, and so on ... I thougth that I could made two sequencies with a VI of data acquisition in each sequency, with the AI MULT PT. But with this, I think that I will lose the precision of the sampling frequency. And I have to know the sampling fre
    quency ...
    Thanks for your help !
    Carline

    Hi Carline,
    A PCI-6034E is a low-cost board, which only has one Analog to Digital Converter (ADC).
    With only one ADC you can't acquire different channels at the same time. That's why you find a multiplexer before the ADC in this type of board. This enables you to acquire multi-channels at the same rate quasi simultaneously. The samples of the different channels will be interleaved as it is explained in the following knowledge base :
    - http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9379ea091c264b7c86256bc90082ca5d?OpenDocument.
    With this method, the sampling frequency is the same for all channels. The sampling frequency of one channel is determined with the "scan rate" parameter. There is only a small delay between the samples
    of each channels. When you perform an interval scanning acquisition, this delay depends on the "sample rate" that you specify. To have more informations about this terminology, please refer to the following KBs :
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    To easily perform such a multi-channels analog acquisition, you can use the VI named "AI Acquire Waveforms.vi". You also can use an example provided with LabVIEW. You just have to browse the NI Example Finder in "Harware Input & output >> Traditional NI-DAQ >> General".
    Best regards,
    Benjamin
    National Instruments France

  • Graphing two analog signals vs. a third with xy plot

    I am trying to plot two analog signals on the y
    axis vs. an analog signal on the x axis on an xy plot. If anyone knows how to do this or has
    an example vi showing it I would appreciate it.

    I think the best starting point for you is the XY graph.vi example. You will locate it in examples\general\graphs\gengraph.llb directory. The example that most probably matches your needs is '(X and Y arrays) Multi Plot' graph.
    Hope it helps
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Compare two analog signals.

    How do I compare an analog signal to another analog signal to see which signal has a higher value? I want to display the result on the front panel using an LED indicator. 
    Solved!
    Go to Solution.

    Sorry about the lack of inforomation.
    I have photodiode voltage four output signals go into the SCC-68 module. The SCC-68 module is hooked up to the PCI 6224 M DAQ Card.
    The signals have almost no noise to them, and I am trying to compare the value (voltage) of two analog inputs to see which value is higher. I want to compare the analog inputs of QPD 1.1 & QPD 1.2 from the VI below.
    Attachments:
    QPD.vi ‏158 KB

  • How to send the two PDF attachments into one mail

    Hi Team,
    I need one requirement...I have two forms ,one is cover sheet and another one is form data. These two forms are converted into two PDF documents and sent to vendor as mail attachments...
    Please suggest me,  how to send the two attachments through one mail .....
    Thanks & Regards,
    Samantula.

    Please SEARCH in SCN before posting. There are lots of threads related to send mail with multiple attachments.

  • How to synchroniz​e two analog output with USB-6353 sharing a trigger

    I'm have the need to synchronize two analog output on the same device (USB 6353) sharing a trigger signal on PFI0.
    The programming environement is Visual C++ , and the code I wrote is as following:
    DAQmxCreateTask ("", &Ao0TaskHandle);  // is the task handle for the analog output Ao0
    DAQmxCreateVoltageChan((Ao0taskHandle,"Dev1/Ao0","​",-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCfgSampClkTiming(Ao0taskHandle,5000.0,DAQmx_V​al_Rising,DAQmx_Val_ContSamps,1000);
    DAQmxCfgDigEdgeStartTrig(Ao0taskHandle,"/Dev1/PFI0​",DAQmx_Val_Rising);
    DAQmxCreateTask ("", &Ao1TaskHandle);  // is the task handle for the analog output Ao1
    DAQmxCreateVoltageChan((Ao1taskHandle,"Dev1/Ao1","​",-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCfgSampClkTiming(Ao1taskHandle,5000.0,DAQmx_V​al_Rising,DAQmx_Val_ContSamps,1000);
    DAQmxCfgDigEdgeStartTrig(Ao1taskHandle,"/Dev1/PFI0​",DAQmx_Val_Rising);
    DAQmxWriteAnalgF64(Ao0taskHandle,1000,FALSE,10.0,D​AQmx_Val_GroupByChannel,AOdata,NULL,NULL);  AOdata is a buffer containing a sinwave
    DAQmxWriteAnalgF64(Ao1taskHandle,1000,FALSE,10.0,D​AQmx_Val_GroupByChannel,AOdata,NULL,NULL);
    DAQmxStartTask(Ao0taskHandle);
    DAQmxStartTask(Ao1taskHandle);
    What happen as result of the code is that only the Ao0 channel get the sinwave output , but not the Ao1 . It seems the two channels are not synchronized.
    What is wrong in my code?
    Please any help non referred to a LabView soloution , first because I'm not a LavView programmder and secondly the project impose C++ as the unique environement.
    Thanks
    Enky

    It will depend on what you are programming the NI 5112 device with.
    If you are using LabVIEW, you can use the example program attached below. In it, it will show you how this is done.
    If you are using VB, VC++ or CVI, you can look at one of the NI 5112 shipping examples that are installed on your computer. These are located in the VXIPNP folder. For example, the VC++ example would be located here:
    C:\VXIpnp\WinNT\NISCOPE\Examples\c\MStudioC++\5112​Sync
    These examples will show you how to synchronize the two digitizers.
    Let me know if you have any questions about these examples.
    Brian
    Attachments:
    Multiple_NI_PXI-5112_Synchronization_Demo.llb ‏151 KB

  • How to read out a RPM signal in labview using UMI 7764 and PCI 7330

    Hi
    I have a problem getting a encoder signal into a labview program. The encoder is connected to a UMI 7764 motion device. This device is connected to a PC trough a PCI 7330. I heard rumors that I can't have more than two axis on a PCI 7330. But can I have more than 2 encoders on it?
    The big problem is that I am new to the motion system and I don't know where to begin.
    I'm going to finish a uncompleted system, but when I look at the VI, I get nervous. So you are my last hope.
    I have taken screen captures of the VI and uploaded it.
    My task is to implement a new encoder signal to the already-made VI.
    Question is:
    How do I add and read out a RPM signal from a new encoder?
    VI download:
    http://www.mediafire.com/?k1ckbozeppffv1z
    Best regards
    Henrik Myhre

    From your post it seems like you wants to read back the RPM value of a particular move based on your encoder. There actually is a specific VI that you can use that does exactly this. The Read Velocity in RPM.VI should output the RPM of the current move that you are doing.
    In the code that you posted, it looks like you are performing a two axis move. Therefore you will need two instances of this VI, one for each axis. You should utilize these VIs within the while loop and after the move has been started that way the RPM values are continuously updated.
    It also seems like you have inherited some code that looks very complicated. We would highly recommend that the you begins experimenting with basic motion to get familiar with it.

  • How to: Send out e-mails through a 3rd party mail host?

    Hi,
    We would like to send out e-mail campaign from our CRM system.
    But we would not like to risc being blacklisted as spammer, so we would like to send out the e-mails using a 3rd party mail host provider.
    Our sales department already use our CRM system for sending out their sales related e-mails.
    They use our corporate exchange server for that.
    So the scenario is:
    I have created a smtp node in trx scot, and liked it to our domain *company.com
    This node points to our corporate mail host. All our normal users use this domain.
    All our campaign e-mails from CRM should be send using another mail host as described before.
    According to note 455140, I don't see that I can create a new smtp node in scot.
    And link this one to our new e-mail domain *company-news.com and the external mail host.
    How do I send these e-mails to a specific mail host when the sender is a specific domain e.g. company-news.com?
    My Exchange server guys say that they can't redirect specific mails send from our CRM system.
    They can only redirect all mails that are send from our CRM system, but then all the e-mails from our sales reps are also send through a 3rd party mail host.
    Does anyone have battled with this before, and how did you solve it?
    best regards
    Michael Wolff Knudsen

    We bought a new Exchange server, version 2007 just for CRM. This Exchange version can tunnel the e-mail to our 3rd party vendor, and they can send out the e-mails so neither one of us gets spammed.

  • How to send out email from table data every day?

    want to implement email function:
    send out data in email from a table with select everyday
    how to implement it in ASE 12.5?

    You can use the Job Scheduler functionality within ASE or a UNIX OS cron job to cause something to happen at a particular time every day.
    With Job Scheduler, you might have it use xp_cmdshell to execute a script on the OS,
    while cron would just execute the script directly.
    The script would log into ASE, run the select and store the results into a file, then send the file contents.
    A simple example of such a script file might be:
    isql -Usa -Ppassword -o /work/my_output.txt  << EOF
    select * from mydb..mystatus
    go
    EOF
    mailx -s"My Daily Status" bret < /work/my_output.txt
    As the file contains your password, be sure permissions are set so only you can read and execute the file.

  • How to send out audio wireless from a video running on AppleTV?

    Airplay its a great feature, I have one AppleTv First Generation and AppleTv Black (AppleTv 2) with ATVFlash, I was wondering how to leverage the airplay feature and send out wireless all de audio comming from my Movies playing in Apple TV?
    I have a Onkyo Multiroom system and I would like to use it.
    My iMac its connected directly to my amplifiers and from there I can send all audio to my home, I was figure out How to do it from Apple TV. I get a great app call Airserver and you can stream all your audio from iPhone, iPad to the iMac and the you can heard using the Onkyo.
    Any help? Why the Apple Tv does not stream audio from movies, actually the first generation has this "Speaker" function and you decide where to send out the audio but just from audio files not from musical videos or movies.

    Simple answer is:
    AppleTV1 can send audio to Airtunes speakers on the network
    AppleTV2 can't.
    AC

  • How to send out email in HTML format instead of Plain text?

    Can anyone help? Or any website with that information?
    I am trying to send out email using javamail. But i want it to be in HTML format so that i can set font size,coulor and so on.
    Thanks in advance if you have any clue or solution.

    look at this page:http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html

  • Mail: how to send out emails with graphics embedded?

    I'm just wondering if the protocol has changed ...
    I'm wanting to send out multiple emails with a graphic, that will open in diverse Browsers, Apple and PC.  Is there a way to do it without having to embed the graphic somewhere up on the web and write a bunch of html?
    Or, what IS the protocol these days?  A direct to a tutorial would be most appreciated,
    Ben

    If the graphics files are not uploaded to a web server, i.e., if you want them included in the email message, then they must be sent as attachments. That is the only way to send non-text via email. Different email programs have different ways of displaying attachments. Some will show only icons, some will only show a list of attachments. Some like Mail will show the contents of the graphic file within the message. If your recipient is using a program that cannot show embedded graphics, then nothing you do on your end will change that.
    Email simply not a medium in which you have precise control over what the recipient will see.

  • How can I use two analog output channels simultaneously?

    I am using PCI6110 DAQ card. I want to run two separate VIs on one computer. Each VI output a waveform to one analog output channel. How can I do this simultaneously without interfering each other?
    Thanks

    Hi Stephen,
    This can NOT be done with two seperate VI's.
    The issue is in the hardware/driver.
    Your hardware has a clock that controls how fast updates to the AO occur. That clock can only have one value at a time. I will let your contemplate the complications that come up with two different clock settings being active at the same time (see below).
    So how do you work around this complication?
    You will have to develop a single VI that OWNs both output channels. That VI will have to accept start,stop,configure, etc commands from the two clients (what you will have to convert your existing VI's into). If you decide to place a restriction on the services you provide to the clients along the line of "only one sample rate at a time" you will be making your li
    fe much easier.
    If I was contracted by a customer to do what you have asked, I would try to combine the two existing VI's into one or simply buy a second 6110 and avoid all of the hassles. Both of these approaches would end up saving the customer money in the long run while freeing them of any restrictions that where established in order to develop the "server".
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How do I acquire two analog inputs simultaneo​usly using a PCI-6052 E series DAQ?

    I am using the data to develope transfer functions.

    The simple answer is to put the 2 channels of interest in the Channel Control of your VI. Separated them with a comma.
    To be honest your question is not very specific. There must be hundereds or thousands of ways to simultaneously acquire 2 analog inputs.
    Try looking at the example VIs that ship with the software. Use the Find Examples function of the startup page for LV. Familiarize yourself with the information there and try some likely ones out. At this point you may have some more specific questions to ask.
    The descriptions of the VI's are sometimes hard to read, but are usually enough to operate the VI.
    Mike

  • How do i send an analog signal to trigger another program

    I am trying to send out an analog signal from labView that will start Bioware. How can I do this?

    Hi Orbz,
    There are 3 Send modes in Logic:
    • Pre Fader (original signal is sent before it reaches the channel strip's fader etc.
    • Post Fader (sent before volume fader adjustments)
    • Post Pan (send before volume fader and Pan/Balance adjustments).
    Click and hold on the Send slot in your synth channel strip and select Post Pan fro the drop-down menu.
    Funnily enough I've just finished writing a tutorial about this very topic!! It's not published yet, but will appear on the macProVideo.com blog in the coming days...
    http://www.macprovideo.com/blog/

Maybe you are looking for

  • Open URL in Web Browser from a Java Application

    Hi, I have an HTML document that I want to load in a browser window by clicking on a button in my java GUI application. Any suggestions? Thanks.

  • IAS JServ (servlet) configuration problem

    I hava a very simple servlet that calls request.getSession() method. It runs OK from JDeveloper environment, but on iAS I get an Internal Server Error. error_log shows: java.lang.NoSuchMethodError: javax.servlet.http.HttpSession javax.servlet.http.Ht

  • RoboHTML 7.0 Abending Destructively

    This is the second time in four days the RoboHTML has "destructively abended". In each case, the error indicated "RoboHTML.exe -- Application Error". I didn't screen capture the first error. The second message read "The exception unknown software exc

  • Table Maintenance Generator Issue

    Hello Experts, I have created and activated a Z-table ZRATE with 4 fields. Field Name   |        Field Type MANDT          |      MANDT ZRATE           |      ZRATE (DEC 5, 4) FROM_DATE  |     DATAB TO_DATE       |     DATBI And then I generated the

  • TS1402 I can not copy any files from the server & from the Finder. System MAC OS 10.7.5

    I can not copy any files from the server & from the Finder. System MAC OS 10.7.5 <Email Edited by Host>