Stoplights.vi

dear all,
I am trying to open the example in "intro to ELVIS" file but somehow it is executable because some of the vis can not be found. Does it require installing any add-on toolkits? Or is it because the LabVIEW or ELVIS I installed are not working properly? Thank you very much for your help in advance!!
Jia

amisare,
You are correct.  The
stoplight.vi is an example and uses the ELVIS driver.  The ELVIS driver is installed in the
instr.lib directory.
1.  What
DAQmx VI’s is LabVIEW asking for?
2.  Do you have multiple versions of LabVIEW?
3.  Did you encounter any errors when installing
DAQmx?
 4.  When reinstalling did you uninstall the DAQmx
driver first?
If you perform a reinstall with the current driver still on
your system then the installer will recognized that and it won’t over write any
of the DAQmx driver files.  I hope this helps.
Message Edited by Ryan N. on 03-31-2008 10:55 AM
Ryan N
National Instruments
Application Engineer
ni.com/support

Similar Messages

  • My stoplight.vi for CLD practice exam

    I am preparing for CLD and looking for comments on my implementation of the "stoplight" CLD example question.  Any comment would be appreciated.  Kudos will be distributed liberally.
    The pdf for the example question is in this zip file:
    ftp://ftp.ni.com/pub/devzone/epd/2419.zip
    Attachments:
    CLD_Traffic_Light.zip ‏42 KB
    Sample CLD Exam - Traffic Light.pdf ‏350 KB

    It looks like your code does everything that the clad exam wants. I see that you documented everything but the main vi. You might just want to explain what the purpose of the mian vi is. I think you code is simple and east to read. The state machine is simple and works good and everything seems to flow nicely. You document well what is going on in each loop.
    I hope this was userful info.
    Tim
    Johnson Controls
    Holland Michigan

  • Some worksheets missing the format and stoplight link in viewer

    I have a set of workbooks that are pretty simple. Each has from 1 to 4 worksheets. I have one workbook where two of the worksheets when run through viewer do not show a format or stoplight link, but the other two do show the links. Is there something that blocks these links from being displayed?

    This issue occurred in our system too.
    We are running Oracle BI 10.1.2 on a Windows 2003 Server machine. The "format" and "stoplight" link suddenly disappeared from Disco Viewer.
    Does anybody know what can have caused this?
    ps: moreover the font of the Viewer page is smaller since this happened

  • Stoplight Format: How to show percent sign next to each value?

    I need to show a percent sign next to each data value on a column that has a stoplight format. The calculation has been created and works perfectly. But when I add the stoplight format, the percent sign '%' disappears. For example, acolumn data value is 95.25%. After I add the stoplight formula, 95.25% becomes 95.25.

    Thanks for your help, nearly worked but only returned results where the if statement was met ie where locked =0, so I used an additional statement to display something else when when locked=1
    <?php
    if($row_spec_rx['locked'] == 1) {
    echo "button html goes here";
    ?>
    <?php
    if($row_spec_rx['locked'] == 0) {
    echo "something else";
    ?>
    I am sure there must be a more elegant way of doing this!

  • Not able to find Portal Combo with Stoplight in top right corner

    We are running on EP7.0 SP8. VC is also in SP8. After installing, I am not able to see PORTAL combo with the stoplight in the top right corner of VC. Any Help ?
    Regards,
    Murali

    Hi
    Actaully, in this version, I believe that we would not be getting the PORTAL url at top right corner. In my Quality server, it works fine.
    In my Development Server, when i click on 'Find Data' icon, it throws me the following error.
    0001> Welcome to Visual Composer
    0002> Portal Connector: fetch error: Bad or missing XML object
    0003> Parse of result error :Bad or missing XML object
    Any Help.
    Regards,
    Murali.

  • I don't where do I start

    Concept
    Construct a traffic flow simulator that models cars travelling down a laneway. You may create the simulator in several stages, each one more sophisticated than the previous. In the last stage, cars travel along the laneway at various speeds, without crashing into other cars. There is also a stoplight, which alternately stops traffic and lets traffic go.
    Design Considerations
    Architecture
    We suggest that you use an architecture that has:
    1.     A driver programmer (a JApplet running in an HTML page you create and submit). Let the driver programme create the instance of the traffic simulator and start the show. Keep the driver programme simple. (See Loftus and Lewis for many examples of this sort)
    2.     The simulator classes, which include:
    o     A class representing the traffic simulator itself (including the controls for starting the simulation, and testing for synchronization (see below))
    o     A class representing the road (It keeps a list of the cars and where the cars are on the road)
    o     A class representing a car. (You will need more than one instance of this class � one for each car that is running)
    o     A class representing a stoplight (You only need one instance.)
    Responsibilities
    To make the simulation work, you will need to have cars that have a position on the road.
    �     Each car (running on its own thread) will update its position according to its current speed. It is required that you use threads.
    �     The road becomes the class that �collects� these cars. Therefore, it needs to create and keep a record of which instances of the car class exist.
    �     The traffic simulator itself creates the road, and any needed controls.
    �     The stoplight is like a car, except that it does not move (place it half way along the road), and it alternates every few seconds between �red� (when it is like a car on the road, and other cars cannot get past it) and �green� (when it is not blocking cars)
    To display the road, you might have the road draw itself, and then call on each car to draw itself on the road.
    Underlying Model
    It is a good idea to have a data structure of some kind to represent the simulation. Do not count on the picture of the road to also be the underlying model, because the picture is a complex set of graphic coordinates (many of which will have to change when a car moves).
    Instead, think more abstractly: a road is a set of positions, and a car has one of those positions. Therefore, the underlying model of the road might be:
    �     An array, each element of the array representing a position on the road. The car's current position is represented by a reference to the car placed somewhere in the array (like markers moving in a Parcheesi or Monopoly game).
    You may choose another model. Whatever model you choose, you will have a much easier time moving a car by changing its position in the underlying model, than by trying to change it directly on the graphic display.
    Threads
    Each car needs to run on its own thread. The simulator creates the instances of car, and starts its thread. The car (inside its run() method):
    �     Sleeps for a while (the faster it is going, the less time it sleeps between moves)
    �     Checks the road to see if can move forward.
    �     Moves, if it won't crash into cars or stoplights, or else reduces its speed and sleeps some more...
    Good practice: Inside the run() method, you need to have the above steps repeat over and over. Avoid using an infinite loop (e.g. while (true)) or even a loop based on a fixed number of iterations (e.g. for (... i<1000 ...) ) . Instead, have a boolean variable such as �go� and use:
    while (go) { ... }
    When �go� is true, the steps can repeat. When you are ready to stop the thread, you set �go� to false. Remember to stop your thread when the car comes to the end of the road.
    Synchronization
    You should implement synchronization, so that each car or stoplight gets to complete one attempt at changing the state of the road without being interrupted by another car or stoplight.
    Testing Synchronization
    To help us test your implementation of synchronization, add a �testsync� parameter to your HTML file and to your JApplet, which you should �get� in the init() method. If it is not present, the road behaves normally, but if it is present, the change() method of the road should sleep for 2 seconds before returning. Adding the delay means that you should be able to �see� the synchronization in action: the cars will pause, too!
    Start and End of Road
    You can make cars appear at the start of the road by having the simulator wait a random amount of time, and then create a new instance of car. When cars get to the end of the road, you can let them �disappear�. Alternatively, you can make your road circular, i.e., have the end of the road feed cars into the beginning again. It is easy to make the road circular: just make sure that in the underlying model of the road, the next element after the final one is the first element again. The use of modular arithmetic
    (index++)% myArray.length;
    can make this easy. (Of course, if your road is circular, you may have to rethink how cars start ...)
    Graphic display
    Once you have an underlying model, and the cars move along the road on the underlying model, then it is easy to draw a picture of the road with the cars on it in their current position.
    Some hints:
    �     Draw the track on a JPanel that is just for the road, the stoplight and the cars. Keep any other displays in other places.
    �     Use the repaint() method of JPanel to redraw it, invoking super.paint(g); as the first statement of the paint() method. (It is also possible to create your own draw methods() instead.)
    �     The road can be drawn as a long rectangle going horizontally across the JPanel.
    �     It is sufficient to make a rectangle to represent a top-down view of a car. To get fancier:
    o     Draw a rectangle of car colour
    o     Put a black edge around it
    o     Put a smaller black edge in the centre of it (for the top)
    o     Put the car number on the top of the car.

                         CAR1                    CAR2                     STOP
                          |                       |                         |
                          |                       |                         |
                          |                       |                         v
                          |                       |                      ======
                          |                       |                    \ |    |
                          |           BOOM        |                    -(|    |
                          |             |         |                     (|    |
                          v             |         v                     (|    |
                                        v                                |____|
                         ________      .  * .   ______                     ||
                        /    |   \      * .  * /   |  \                    ||
                  _____/_____|____\___/\/\/\/|/____|___\_____o             ||
            o     |   __              __ |  __           __  |             ||
         .     o (|__/  \____________/  #|_/  \_________/  \_|)            ||
        O  .  o  ==  \__/            \__%  *__/         \__/               ||             

  • Remote Desktop Connection stop working after upgrade from 10.5.8 to 10.6.1

    I too could not connect to a W2K3 server with RDC 2.0.1 after upgrading from Mac OS X, 10.5.8 to 10.6/10.6.1. I have another Mac which is on 10.5.8 and connect fine with the same version of RDC 2.0.1 as well as other PC with Terminal Service Clients.
    There is no change on the server side. I have uninstalled and reinstalled RDC 2.0.1 several time and it did not resolve the issue. To rule out firewall/network, I tested with another remote desktop application called CoRD (for Mac) on the same laptop running SL 10.6.1 and it connected to the same W2K3 server fine.
    One thing that is worth mentioning (in my case), when it does not connect, RDC totally quit (not running anymore. Not minimize, no cannot connect error message, no little dot on the Dock for RDC, nothing) right after I put in the credential in. When looking at the log entries that are related to RDC in the Console application, I see the following
    machine 10.6.1. with RDC 2.0.1 (non-working)
    9/22/09 1:17:16 PM [0x0-0x3a03a].com.microsoft.rdc[468] objc[468]: Class NLAssertionHandler is implemented in both /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/Netlib.framework/Versions/12/Netlib and /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/RDCPAL.framework/Versions/12/RDCPAL . One of the two will be used. Which one is undefined.
    On the 10.5.8 machine with RDC 2.0.1 (working), I see the following entries
    9/22/09 1:13:23 PM [0x0-0x24f24f].com.microsoft.rdc[5502] objc[5502]: Class NLAssertionHandler is implemented in both /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/Netlib.framework/Versions/12/Netlib and /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/RDCPAL.framework/Versions/12/RDCPAL . Using implementation from /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/RDCPAL.framework/Versions/12/RDCPAL .
    9/22/09 1:13:39 PM Remote Desktop Connection[5502] * _NSAutoreleaseNoPool(): Object 0x16a25c20 of class NSCFArray autoreleased with no pool in place - just leaking
    Stack: (0x9277af4f 0x92687432 0x93062bf5 0x926ce0fb 0x9723dff5 0x9268d52c 0x92fd447a 0x92fd4753 0x92fd4a48 0x930375da 0x530bac 0x4831a2 0x483750 0x483c0b 0x47a811 0x4796ac 0x485dad 0x47d475 0x5099dc 0x574c70 0x4ade03 0x4ae65d 0x4ae6f7 0x4ac8dd 0x53260c 0x534187 0x4ae76a 0x4ae7d0 0x4ae88e 0x493925 0x4ae13d 0x533b1a 0x53da6c 0x94a48057 0x934b3155 0x934b3012)
    Any help would be appreciated

    Doing some more troubleshooting after my post above as I saw a couple of entries referencing Stop Light keep popping up in the log of the Console. I removed Stoplight and Cocoa Gesture (for good meausre) and RDC 2.0.1 started working. I think it is Stop Light which causes RDC stop working, but I don't have to time right now to put Cocoa Gesture back to confirm that. I might if I have the time or post here if you have Stop Light installed as well and removing it resolved the RDC issue for you.

  • Stupid Placement or lack of buttons...

    A couple things have been bothering me about OS X these past couple of days. I don't know if anyone else cares, but I just need to find a place to complain!
    1. Why did they make the radio buttons smaller? I just noticed how hard it was for me to click on the buttons... and without colors, I have to kind of remember which ones are which. Is there a way to get the colors and sizes of those stoplight widgets back? I have looked to no avail.
    2. In mail, when you go to preferences and change account settings there is no "Okay" or "Save" button. You just close it and then it asks to save. This is so counter-intuitive... especially for Apple. Like an afterthought... "Oh you changed something? Hold on there, buddy... you sure you want to do that?"
    3. In iCal, the "Delete" button is where the SAVE button should be. I don't know how many times I have created a new event... which doesn't automatically open the even dialog box anymore... and then gone to change the time and such... and then I hit "save" NO! It's delete... there is NO SAVE BUTTON! Again... you have to close the box for it to save... and there is no close button anywhere on the screen... you just have to know to go shut the stupid windo by using the stupid radio buttons.
    These are stupid things about the OS that have frustrated me that I hope are fixed in the next version. But I have a feeling there are going to be more stupid/counter intuitive things coming down the pipe because they expect us to run our PC OS as if we are on a smart phone and touching crap with our fingers instead of using a mouse.
    Bah. Humbug.

    1. Why did they make the radio buttons smaller?
    No idea what you're talking about there.  They look the same that they always have here.  Can you give a more concrete example of what you're seeing?
    2. In mail, when you go to preferences and change account settings there is no "Okay" or "Save" button.
    That has been the case for some time now.  It's not new.  If you don't like that, go here:
    http://www.apple.com/feedback/
    3. In iCal, the "Delete" button is where the SAVE button should be.
    Why do you need a Save button and a Done button?  And the button placement is consistent with other things, such as the "Do you want to save?" warning alerts (where the Save button is the rightmost button).  Further, this has not changed lately, either.
    Bah. Humbug.
    You are free to submit "bah humbug" sorts of comments to Apple via the link I referred you to above, but note that this is a user-to-user tech support forum.  As such, those kinds of posts are not helpful, and are in fact not allowed according to the Apple Support Communities Terms of Use.  If you have a question we can answer for you, you are more than welcome to ask it.

  • Not able to import .FLV into Welcome Page in Acrobat Portfolio

    Hello,
    I would like to import either an FLV or an SWF file into the Welcome Page of an Acrobat Portfolio. It does not work if I import an FLV, and it only half works if I import an SWF.
    I've put together a video illustrating the problems I have. I am not sure if 1. my expectations are too high, 2. there is a bug in Acrobat Professional, or if 3. There is a mistake in the documentation.
    http://wemads.com/adobe/
    The help file referenced in the video is:
    http://help.adobe.com/en_US/Acrobat/9.0/3D/WS8C3A613D-D486-49ff-97E9-D3E0984D0E74.html#WS3 B2E1248-62A9-4e86-8C67-8813609EEC8C
    Thank you!
    Nick

    Hi,
    Use below utililty
    java oracle.jrad.tools.xml.importer.XMLImporter SupplierLovRN.xml -username apps -password $PASSWORD -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=$db_host)(PORT=$db_port))
    (CONNECT_DATA=(SID=$TWO_TASK)))" -rootdir ./ -rootPackage $HOME/stoplight/xxx/oracle/apps/pos/stoplight/webuiRegards,
    Gyan

  • Working with iphoto AND Photoshop Elements

    Hi,
    I currently use iPhoto 5 and want to begin using Photoshop Elements. I am wondering if someone could share their ideas on how to go about using both programs. Here is my objective. I think that I can get more out of my photographs but moving up to Photoshop Elements. I think that perhaps this program can make better black & white photos as well as color (has more adjustments that are capable of specific controls).
    That said, once I have finished with a photo, should I then import it into iPhoto?
    What type of work flow routines do others use when they have both of these programs?
    Thanks for any ideas!

    If I may take the opportunity to expound on this thread to incorporate my own question...
    I too wish to edit in Elements and retain iPhoto as an organization tool, but have read that saving to jpg is not the best idea. After editing and/or flattening tiff is the better option, no? Anyway, the default directory in Elements in the save as dialog I believe is to the same roll the original came from, but often after an edited jpg is saved into tiff iPhoto doesn't see it. Stoplight tells me it is there, but there is apparently something about the process that iPhoto doesn't like.
    Lori, can you be kind enough to expound on this?
    Thanks.
    ps: Tatty - I took a Elements class at a local high school and learned bunches. Alternatively www.totaltraining.com has a nice DVD available too
    Power Mac G5 Dual 2.0   Mac OS X (10.4.5)  

  • Table cell background  color in PDF

    I have a requirement to generate a PDF from a stoplight report.
    The stoplight report colors were implemented by setting the background color in table cells
    via css (background-color: red;). Its working in the browser but when I generate a pdf the cells show up with grey backgrounds. How can I generate a pdf with the correct colors?
    Thanks for your help.
    I'm using Apex 3.1 and pdf generation functionality that comes with Apex. I don't have BI Publisher.

    Hi David.
    At this time you don't get WYSIWYG reports in PDF.
    You're limited to the Column Colour settings you can specify in the Print Attributes of the report region but these would apply to all columns in the report and would not be dynamic.
    This may be something that is addressed in a future version of APEX.
    If anyone else knows different, feel free to chip in.
    Regards
    Simon

  • Missing Print Progress Bar--bug or feature?

    Since upgrading to Acrobat 8 Professional (v. 8.1.2) on a Mac Intel Quad-core running OS X 10.5.1, there is no progress bar when printing. I only know that printing is done by hovering over the "stoplight" buttons and noticing when they become responsive again. (The window itself does not become active until I click in it.) It's as if there *is* a progress bar window somewhere, but it's not visible, and it's not giving up "front window" status when it's done.
    Has anyone else noticed this behavior? It's not affecting function, it's merely annoying. But with the radical redesign of the interface from Acrobat 7 to Acrobat 8, I can't tell if this is a bug or a feature. Any insight will be welcome.
    Thanks,
    David Reiffel

    I am new to this problem, having recently upgraded to Intel Macs from Acrobat Pro 7. There is another issue that seems to have been missed both in this thread and the other one referenced by David above. When the progress bar is on-screen, there is also a cancel button. So now you have the situation where Acrobat is unable to report how far through a print job it is and you are also disallowed from cancelling the job without resorting to a Force Quit... Now, that's the sort of usability I'd pay good money for! The problem doesn't occur using a PowerMac G5, so the functionality is there, it just doesn't translate to the Intel platform. Adobe Reader 9 also prints without a progress bar, so it looks like the problem is here to stay unless a fuss is made and this becomes a 'known issue'
    I've raised this as a case with Adobe customer care on 1 September but this hasn't been addressed as yet. I'll post any follow-up I get here.

  • 2 problems w/ Yosemite I loaded today

    Installed Yosemite today. Any advice on 2 issues?
    1. My "stoplights: are just dark spots, no color or markings.
    2. iMessage is not working with non-Mac phones.
    Can someone help, please?????
    bb

    David-
    The only way to troubleshoot the display at this point is to hook it up to another computer and see what happens. Combined with your second problem it certainly would appear as though this could be a problem with the graphics card. You could take a look at the error logs and see if anything interesting is there.
    I would invoke AppleCare if all possible. When a Power Mac fails it can be expensive to repair. If something is failing now it would it not be better just to get it repaired and have no more worries? The nice thing is that the AppleCare covers your monitor as well.
    Luck-
    -DaddyPaycheck

  • PI 710 Digital License Problem

    We have installed PI 7.10 (Oracle 10.2.0.4.5) on Windows 2003.  We have downloaded and installed a license from Service Marketplace.  The install of the license is successful, but when we remove the old temp. license, it is obvious that the new license did not 'take' because you have to logon as sap* etc.  So, the digital license screen shows the installed license next to a green stoplight; however, the area just above shows a red light next to netweaver_ora -- funny since we installed netweaver_ora license and it is green just below.  I have installed all of the available license types and nothing works.  We have a message in with SAP, but no solution yet.  We have deleted and recreated the license table (MLICHECK), per SAP recommedation, no help.

    This problem was related to a license hardware mistake on my part.  My hardware key is O74734834 (not really, but you get the idea).  I assumed the firsrt character was a 0 (zero), but in fact it was an O as in oscar.  Silly.

  • User-specific Selection Variables in Variants

    Hi,
    I am triing to follow the tutorial in the help.sap.com concerning the variants.
    http://help.sap.com/saphelp_47x200/helpdata/en/c0/980386e58611d194cc00a0c94260a5/frameset.htm
    I would like to create a User-specific Variables for a variant.
    I created set/get param for my report, I also created entries in the user master record. But: In the variants maintenance tool (SE38). First I edit the attributes of my variables and choose the selection variable option for some fields. Second I highlight in green the user specific column stoplight. But clicking F4 doesnt propose any value. Then saving doesnt work neither.
    Thank you,
    Younes

    Umar,
    When I click on the button save a modal popup it says "Variables not supplied with values. Save anyway?". I dont know how to supply the variables with values.
    With the Function module VARI_USER_VARS_GET I am not able to Read existing variable values. Also in the selection screen of my report the menu  Goto -> User variables is not enabled. Maybe I am missing something? Could you help me.
    Thanks,
    Younes

Maybe you are looking for