Help with Digital Output software

Hey people. I need your help to improve my software. I need to use some digital outputs. The software does this:
- Choose which one battery to monitor
- Activate only one digital output at a time
Ok, I have done this, but I guess it's not the best solution. I've tried to make it a lot of different ways, mainly because I am using the VI's several times and it is not an "optimal code". Well, beyond that, I can't have two digital outputs HIGH at the same time, i mean, I CAN'T have LINE2 and LINE3, for example, at HIGH (true) at the same time. 
Does anybody have any idea on how to help me?
Thank you very much!
Attachments:
Medidor Bateria.vi ‏65 KB

Thank you very much, Jeff. I know my solution is not the best, but I need to ensure that only one of my outputs be at HIGH level. I am trying to use the RADIO buttons, and the program is attached here. But there is this problem, that is I repeat all the VI's. Please check this for me, if you can. Thank you very much, your help is very important!
Attachments:
Medidor com Radio.vi ‏28 KB

Similar Messages

  • Help with DIgital Output Array with 6062E DAQ CARD...

    Good morning, folks... I need some help with digital output of the 6062E PCMCIA card... I can output 1 line without problems... I need to control a 4066 with my digital outputs... I am doing this without greater problems... but there's something... I need that when one of my outputs is high, the others become low, unchangeably... so I tried to use an array to control my output and I couldn't do that... some errors showed up... can you help me please? Maybe there's any errors at my software, then I thank you if you help me... the vi is anexed...
    Best Regards...
    Attachments:
    Untitled 3.vi ‏20 KB

    See below for one of many methods. Change the "lines" string for your setup.
    Also, please explore the Examples that ship with LabVIEW, and read your card's manual.
    Richard

  • Help with updates - The software change returned error code 0x87D00215(-2016411115).

    I have rolled out bunch of updates across few hundred workstation systems.
    Few of the desktops have failed to install SOME of the updates and just can't get my head around as to why?
    Looking at one of the workstations, I can see 5 updates are pending download at 0%.
    Some of these fail after a while and with in Software Centre, I can see 'Help with updates - The software change returned error code 0x87D00215(-2016411115).'. Not exactly sure what this means, but I have tried clearing the cache and
    rebooting the workstations few times.
    (I have also tried to use Windows Update and install one of these manually, which worked.)

    Investigating this further, I have found the following in CAS.log:
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {ED6E9E5C-E806-43CA-9F93-49AC72D1DEAD} for content 53bf87a2-bedf-4def-b0ec-9637613c3429.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting locations synchronously for content 99ddb078-b780-4605-8fac-9607fe56450d.1 with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    The number of discovered DPs(including Branch DP and Multicast) is 1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Calling back with the following distribution points ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Distribution Point='http://DPSERVER.com/SMS_DP_SMSPKG$/99ddb078-b780-4605-8fac-9607fe56450d', Locality='LOCAL' ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting content 99ddb078-b780-4605-8fac-9607fe56450d.1, size(KB) 0, under context System with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {67B7E59B-A386-4EA8-BF39-2EB64B108A6C} for content 99ddb078-b780-4605-8fac-9607fe56450d.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting locations synchronously for content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1 with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    The number of discovered DPs(including Branch DP and Multicast) is 1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Calling back with the following distribution points ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Distribution Point='http://DPSERVER.com/SMS_DP_SMSPKG$/61d33de7-9582-41e3-82fc-3e0f970b60f3', Locality='LOCAL' ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1, size(KB) 0, under context System with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {12E48136-B545-4C42-9745-9FF97CE38D52} for content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)

  • Digital stimulus-f​requency response: Need to drive with digital output trigger. Using counters for response.

    I need to drive stimulus-response with a software driven digital trigger and NI-TIO counter based response. No analog I/O is really relevant, although I have a PCI-6035E multi-function DAQ as part of my gear. I intend to use the analog, but its timing is non-critical and can be software timed.
    The real trick is that I want to set the basic timing of the system (in the range of 1 - 50Hz) from the timer0 on the 6035E. This signal needs to be replicated to drive a trigger pulse and to route through RTSI (or a PFI) to trigger frequency counts using the four possible groups of counter/timers on the 6602.
    What I need is:
    while( enabled )
    Repeat at (
    software controllable rate = 1-50Hz)
    Trigger Sets a PFI line for 10-20us
    same trigger sets an RTSI line
    - Software Set Delay (usually zero)- stable is more important than the delay time!
    Count for software set time on 4 counters
    analog samples
    Post-process
    I want to do this in LabView. I have checked out the Advanced sychronization demos online, but the examples all use analog triggering and buffered digital I/O. This doesn't really address what I need to do.
    I have made some failed attempts which relied on software to sync up the trigger and the response frequency acquisition. This is definately flawed. I need to start the counting right after setting the digital output trigger, and stop the count after a fixed interval for frequency calculation.
    I am having trouble working through the signal routing to get the timing to trigger off the digital stimulus output pulse.
    Any help would be appreciated
    Thanks,
    Joe

    Joe
    What are you using the trigger from the 6035E for? I do not know what you mean by, "to trigger frequency countes."
    If you are having problems just routing the signal to the 6602, here is a vi that shows you how to route a signal through the RTSI cable to use as the source of a counter.
    Brian
    Attachments:
    Route_RTSI_to_Source.vi ‏67 KB

  • USB-6009 pulse train generation with digital output....

    Hello!
    I've bought a new USB NI-Card (USB-6009) and now I'm trying to adopt an old vi that uses traditional DAQ drivers. I wrote that vi for a PCI NI-Card (PCI-6024E), which has two counters to generate two pulse trains simultaneously. Now I've only one counter and that's why I'm searching for a good way to create pulse trains using a digital output! The pulse trains are both ranging between 100 Hz and 100 kHz.
    I'm sure somebody has an idea how I can solve the probem in the best way
    Kind regards,
    Peter

    You can't do it with this low cost board. Both digital and analog outputs are software timed only. The analog out is rated at only 150  samples/sec and the digital is about the same. You can't even use one of the counters because it is not a hardware timed counter output. It is an event counter only as an input.

  • Problem with digital output and microph

    Hello! I recently bought a new motherboard MSI K8N SLI Platinum that have onboard Sounblaster Li've 24bit, with coaxial and spdif and also the standard outputs. I ve connected via a fiber optical cable to my amplifier and i checked the digital output only box to the advanced settings on the mixer. I am hearing sound very well from my amplifier but when i connect headphones to with microphone to my soundcard , i don't hear anything at all from my headphones. Also i cannot speak via microphone. If i uncheck the box digital output only i hear sound from my headphones and also i can speak to microphone. Is there some way to have them both enabled? In my previous motherboard i didn't have that problem. I could hear sound from my amplifier with pcm signal and from my headphones and microphone analog at the same time.
    Thanks!

    Thibaud,
    The clue is here: " i take acquisition with one sample on demand."
    You are apparently using software timed output. To maintain accurate phasing at 80 Hz you need timing which is accurate to better than 4 milliseconds. This is not likely to occur with a desktop operating system. Sometimes it will be good and other times OS latencies will throw the timing way off.
    If your board supports it, use hardware timing. The timebase sources on most boards are far more precise and accurate than software timing.
    Lynn

  • PID with digital output

    Hi,
    I have the application.
    I do not clear about PID function but, I would like to ask you about my application.
    I have a sensor water level and a few motors to control gates
    I measure water level and control motor via digital output(using the fieldpoint system)
    I would like to hold water level at level, so I use PV indicator  and SV control. when I change SV then will  control Motor (RW or FW motor).
    Can we use how technology to hold water level PV=SV  ?.
    Please let me know your comments.
    Thanks
    Nguyen Van Hung

    Hi Nguyen,
    There are several examples in CVI under Help » Find Examples that may be able to help speed up the development of your PID program (assuming you have purchased the CVI PID Toolkit).  These examples can be found by going to Toolkits and Modules » PID and Fuzzy Logic Control » PID.  Depending on how familiar you are with PID algorithms, I might suggest that you look at the GeneralPid example first.  Additionally, the PID Control Toolkit User Manual t is also a great place to look at the algorithms and the library functions.  Finally, in case you aren't aware, you can double click on any function that you find in the Libraries folder located in the bottom left of CVI to open a functions panel which will show all inputs and outputs of a given function.  Then, you can right click on any parameter to view details about that or on the function panel (outside an input box) for more information about the function in general.
    I hope these resources help you design an algorithm that works well for your situation!
    Regards,
    Trey C.
    Applications Engineer
    National Instruments

  • HP Headphone jack with digital output

    OK, so HP customer service is officially garbage. Everyone knows that, i just had to get it out of the way before anybody responds "Just ask customer service".  I have a HP Pavillion dv6724ca notebook with 2 headphone jacks.  I heard that one of them is a digital output jack for 5.1 surround and my sound card specs say that i have digital output capabilites (go DXDIAG.exe - Realtek Digital Output), but I cant get it working.  I have a 3.5mm mini TOSLINK to TOSLINK connected, i have enabled my digital output in Realtek HD Audio Manager, i have checked the supported formats in my Realtek Digital Output properties.....but still nothing.  Am i missing something?
    thanx

    I don't think your model HAS the headphone/mini-toslink SPDIF jack, RE: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01443331&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US... .  The HDMI port is SUPPOSE to support BOTH digital Video AND Audio... however I BELIEVE that there was/is some problems with the Audio side on some HP models.   BUT to be sure however, use the search facility to search on HDMI.  If everything is working according to spec (on the PC AND on your  >>>TV<<< ), you should ONLY need a single HDMI cable to do what you want ... but I fear you are going to run into problems.  Report back your findings.
    Good Luck.

  • Trouble with Digital output on Live Value under Windows

    I have a soundblaster li've value card in my system using the digital output in win98se and all works fine. I just upgraded to WinXP. The windows drivers worked fine once i switched them to digital output. However, i lost the Creative mixer and wanted it back. I then downloaded your Unipack driver for the Li've card for winXP and lost the digital output even when i toggled to digital output control. I then downloaded the li've value from the Gateway site since they OEM'd the card in my system and the digital is working again. However, they do not provide the Creative mixer. Is there anyway I can get the Creative Mixer to work in XP wiith the li've value card? Thanks
    Soundblaster FAQ states:
    Some name brand systems shipped with a special Li've! Value card that was made to work with digital speakers. If you system shipped with a Li've! Value and you have digital speakers you will need to use drivers provided by your system manufacturer. If you use the drivers on the Creative website your card will no longer work with your digital speakers.
    Boston Acoustic Digital Speakers or Prebuilt System With a Digital Li've! Card
    If you have a set of Boston Acoustic digital speakers that came with your system and they are not working with your sound card, make sure you have it connected to the digital out on the card. Also make sure that the digital out is enabled.

    I still always get the value 0.0 returned for minA. I
    know that the data is being correctly stored because I
    have a seperate report frame that displays all values
    for all entries.
    Any ideas where the flaw is?
    Thanks!
    Hey, there. It's unlikely that your users are entering negative numbers which are the only numbers that will be less than zero. You need to initialize your minA to be some quite large number.

  • Help with Cisco Output Interpreter tool!!

    Hi All,
    I am experiencing a problem with Cisco Output Interpreter tool.
    While the tool is working fine and displaying the "CONFIGURATION COMMAND REFERENCE  NOTIFICATIONS (if any)" very effectively but I am unable to use the hyperlink to get an understanding about a particular command.
    When I click on a particular command(hyperlink) it pops up another window and the below error is displayed.
    Not Found
    The requested URL /cgi-bin/Support/Cmdlookup/ios-command-lookup.pl was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Anyone else had/have this particular error. Could you please help me with this.
    Apologies if  this topic does not belong to this group.
    Thanks in advance
    Sam

    Noone to help me on this?

  • No Sound Output with Digital Output Mac

    Hi There,
    I normally use my Blackmagic card for sound output on my Mac with Premiere CS6.  I want to work with the digital output on my current project but when I try switching to digital out under Preferences>Audio Hardware the audio still comes out of the Blackmagic card but not the digital audio out on the Mac.  I'm testing with the bars and tone in the browser and my timeline sequence.  FCP 7 works as expected when digital out is selected, and I know digital out is working properly on my computer.
    Any suggestions?
    Thanks!
    Gerry

    OK, sorry it was that I had to switch audio device under plackback.
    Perhaps this should be added to the FAQ under No Sound During Playback, which doesn't include the Preferences>Playback as part of the troubleshooting for MAC.
    Thanks!
    Gerry

  • Synchronous LED display with digital output

    hi,
    In the experiment I want to control a relay, so I use the MAX to generate a digital output task and then transfer it to example code in labview as below. How can I amend  this code so that when the module ouput 1 there is a synchronous LED display on the front board.
    Thanks~~~

    Use single sample digital writes inside your loop.  Use a shift register to hold the state (T or F) and invert each iteration.  Now you can just wire the state wire to a front panel led and be sure that it is sync'd to the digital output.

  • Do new imacs come with digital videocam software?

    Hello,
    I know someone who's sick and tired with his Win XP machine. He has a digital video camera which he wants to burn onto DVD, but he has a lot of problems. Mind you, he doesn't know much about computers, and perhaps a bit more experience would help. Anyway, he's lost patience, and I suggested that he looked into getting a Mac, because they are known for their user-friendliness.
    He's already spent 500 dollars in software for getting the movie from Digi Video Cam to DVD via computer, so it makes him weak to think that he has to invest again in software.
    My question is: If he buys an iMac, does it come with software for him to edit and burn to DVD?
    P.S. We are also looking at a Mac mini. Does the mini come with software necessary to edit and burn a digital movie file from video camera to dvd?

    If you have XP installation disk with SP2, you can get Bootcamp free which will allow you to insall and run windows, then your investment in Windows software will not have been wasted. However, I am using the iMovie that came with the computer and it works just fine.
    iMac Intel Duo/MacBook Pro 2 Gigs RAM ea. Sony VAIO/ 3 keyboards 2 hands   Mac OS X (10.4.7)   iMac 20" Intel core duo-250Gig HD-2Gig RAM/Macbook Pro Parallels/80/120/160 HD's

  • Need help with Digital Camcorder compatibility!

    I am looking to buy a digital video camera but I am not sure if they are "compatible" with my iMac. My friend just bought the JVC - Everio Digital Camcorder - Model: GZMG330HUS. It comes with Windows software and the manual has a brief mention of how to Backup-Up the video files onto the Mac but no mention of the video format being compatible with Mac. Anyway we tried plugging it into the Mac to see how it responded, and it did not, except that it saw it as a device that we could access the video files to copy then to the Mac hard drive. The Video files have an extendion .MOD and .MOI. Tried double clicking on the MOD (the video itself) and the Mac gave the message that no application exists to run it.
    I really want iMovie to recognize it so I can edit the video and make movies to sent to family.
    So, my question is whether any of you have tried this? Is there a solution to get this type of camera to be recognized by iMac? Are there other suggestions for compatible cameras in the $400 range (like this JVC is)?
    Thanks in advance.

    I had an issue with a JVC customer service rep that caused me to return a JVC camcorder that would not work with my iMac. I have since purchased the Panasonic PV-GS320 mini/dv camcorder.
    Fantastic video and absolutely no problems. Recognized through iMovie, iDVD and FCE HD 3.5 via firewire. How-ever, you will have to purchase a firewire cable as it is not supplied with the camcorder.
    Also in your price range, around $350.00.
    Hope this helps.

  • Need help with digital audio out on qip7232

    Have seen lots of posts about digital and optical outputs from the QIP 7232. I want to run a digital, stereo, 2 channel LPCM signal out to a stereo receiver. There are posts on this forum that say that both outputs are disabled by Verizin. There are other posts that suggest various settings that could be tried but none of these have been  confirmed to work. I have set the output to Stereo in the regular menu. I have set the output to LPCM in the hidden menu. Still, no audio output. I do have analogue output from the stereo left and right but want to get digital. Can anyone help ? Does anyone have either the digital or optical outputs working? Thank you Jim {Edited for privacy}

    toslink cable will also work with MBP.

Maybe you are looking for

  • Report on Campaign-Recipients.

    Hi, Im trying to track the no of contacts who attended campaign,received the campaign invite & who declined/did not attend the campaign. Also from the no. of contacts who attended the campaign, how many actually got converted to leads. Help required

  • Using time capsule to back up two drives?

    Hello. I haver done a search on this but am unable to find a clear answer. I work on a macbook pro with a hard drive attached, keeping my large files off my system drive. I currently back up both the system drive and external work drive with superdup

  • Why does the MSB toggle in serial mode when parity is enabled?

    Hello everyone, I created a small VI to read 1 byte of data across an RS-422 port. The data is then passed via a queue to another VI which displays the byte read. I have been testing the functionality of the VIs using HyperTerminal, and they seem to

  • Need Music to go with photo book

    I created a photo book on iPhoto and sent it to iDVD. Now I can't find how to put music with the photo book, but i know how to put music to the main menu. Any suggestions?

  • Issues by using external ntp time source on domain controller

    Hello i have done the following on my 2012 R2 domain in a command promt net stop w32time w32tm /config /syncfromflags:manual /manualpeerlist:"0.dk.pool.ntp.org" w32tm /config /reliable:yes net start w32time and when i type: w32tm /query /configuratio