How do i read the Shift register value of a vi which is written in the teststand sequence from labview exe

Dear All..
My Qusetion is ... I have a VI in which I can writ the data to shift register and I can read( Differenent cases). I am Running the VI in write mode to write SAY '100' in the shiftreg( VI will be In teststand Sequence) . And I am reading the VI in read mode using Labview. I am getting the data in labview.
When i conver my Reading Vi which is having that Read/Write vi in to EXE even then the test stand is writing the data to VI is Unable to reflect in labview.
Please Help me out with some solution.
Thanks
bhargav

I'm confused by your question:
Are you trying to transfer data from an Exe to TestStand and vice versa?
Or are you changing existing, working VIs into EXEs and then wondering why they won't behave the same?
Can you clarify some what your goal is?
There may be a better way to do what you want.
Thanks,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • Problem in using the shift Register

    I have a problem regarding shift register when i was using it in my application.
    During the runing of the application i found that sometime shift register not pass the value to the case structure. at that time result is not displayed.
    i have attached the application in which that problem occur and the process regarding the execution, how bug produce and how to check where the shift register stop. please find the attachment and reply on the same.
    Attachments:
    Shift Register Checking Application.zip ‏173 KB

    I'm sorry but I don't understand your program.  I only see one shift register in Result Display.vi.
    What I do see is a lot of odd constuctions of while loops that only run once in your Main.VI.  Also, a heavy reliance on global and local variables that I suspect are leading to race conditions.
    Have you tried using the debugging tools such as probes and highlight execution to see our your application is behaving?
    I'd also be concerned about how you have "Lock Front Panel Until Event Completes" in the cases of your event structure.  And those event call other subVI's that may take a while to run and rely on user interaction with the front panel.  I also don't understand why when I hit "OK", the subVI front panel remains open.  It just makes running your application that much more confusing.

  • How to set up a shift register to unsigned 16?

    How do you set a shift register to an unsigned 16?
    It defaults to double but I want it a U16.
    Ron
    Attachments:
    unsigned_init.GIF ‏14 KB

    You'll either need to initialize the shift register by connecting a U16 constant to the left register outside the loop, or place a U16 Convert function from the Numeric>Conversion palette after the Increment function.
    The default numeric data type is Double, so unless you specify what you want, that is what the Increment function will produce.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  My iBook library does not show up in iTunes.

    I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  Some of my iBooks show up in my iTunes but they are "grayed" out.  The only books that respond in iTunes are audiobooks and that's not what I'm looking for.  Is this a stupid question?

    Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro.  If I want to read on my mac I have to use Kindle or Nook.  Which means any book I've already purchased through iBooks has to be read on my iPad.  Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.

  • How can I find a data base table containing a GUID, which is result of the macro's execution?

    Hello,
    please help me to understand how the macros work. I am facing database inconsistency. The CRM-system retrieves a GUID of an opportunity’s item and checks its existence. However, this GUID (here it is es_info-ref_object) does not exist. As result, an exception is triggered.
    I am trying to figure out which data base table is responsible for the inconsistent data. Instead of SELECT statement, I see in the debugger that a macro retrieves the “guilty” entry .
    macro_execute macro_msg_data_read_rea.
    My Question: How can I find a data base table containing a GUID, which is result of the macro’s execution?
    Thanks a lot
    Andrej

    When you save a PDF out of Distiller it doesn't just have different options, it's an entirely different program. It doesn't do things the same way, so it can't have the same options. Saving from Distiller is in many ways better, expecially in that transparency isn't flattened.
    What specific options are you looking for?

  • I need the IP values and Subnet Mask which is given by the ISP for my jetpack so i can configure my smart tv

    i need the IP values and Subnet Mask which is given by the ISP for my jetpack so i can configure my smart tv

    Your public IP Address is provided by the ISP.  Your smart TV does not need to know this information unless you plan to host some kind of an application or service for folks on the internet through your TV.  It wouldn't work anyways since all Jetpacks sit behind a VZW NAT firewall and blocks hosting capabilities by default.
    What you more than likely are referring to is the Default Gateway and Subnet mask of the Local Area Network being hosted by your Jetpack.  By default these values should be something like 192.168.1.1 and 255.255.255.0.  You can confirm the DG and SM by connecting a computer to the Jetpack.  Every computer has a way to look up the networking information.  On a Windows OS you would open up a CMD window and type in "IPCONFIG".
    If you shoot us the model number of your Smart TV we may be able to look up a User Guide to confirm what kind of info is needed to connect to a wireless network.  Most of the time exchanging the IP information is done automatically during the connection process.  It would also be nice to know which Jetpack model you have so we can compare the User Guide for that device with your TV.

  • TS4009 I have had to delete my icloud account and open up another because it would not verify. In the meantime I have lost my storage which was attached to the previous email account. I would like to know how I can transfer it across to my existing accoun

    I have had to delete my icloud account and open up another because it would not verify. In the meantime I have lost my storage which was attached to the previous email account. I would like to know how I can transfer it across to my existing account?

    Thanks randers4. Reading through other discussion points, other people have similar problems. I thought and still do, that the easiest option was to delete and open up another. That worked fine except I remembered that I had some storage attached to that icloud address. I live in New Zealand.

  • Having trouble with my Airport Utility not supporting either of my Airports Expresses or Basestation. Do i have to update Firmware of airports or is the issue with my version of Utility which i believe is the latest. Thank you.

    having trouble with my Airport Utility not supporting either of my Airports Expresses or Basestation. Do i have to update Firmware of airports or is the issue with my version of Utility which i believe is the latest. Thank you.

    AirPort Utility in Mountain Lion will not support the older versions of the AirPort Express.....model numbers A1084 and A1088. Check on the side of the Express for the model number.
    In addition, AirPort Utility in Mountain Lion will not support the older "round" or "dome" shaped versions of the AirPort Extreme.
    Can you check to see how your devices might be affected?

  • HT1766 i hv ugraded my 3gs software to ios 6,it hs installi hed successfully nd the ihone itself restarted bt their is no service written at the top left corner nd i m stuck,i dont knw hw to proceed.itunes is showing the no sim card intalled. the sim card

    i hv ugraded my 3gs software to ios 6,it hs installed successfully nd the iphone itself restarted bt their is no service written at the top left corner nd i m stuck,i dont knw hw to proceed.itunes is showing the no sim card intalled. the sim card is ok.plz help me out

    Yes, I agree - 10 seconds can be a bit short for a backlight, but it makes you read faster and act faster - and that is a skill you can use everywhere in live.
    In my next Nokia I hope they take it down to 9 seconds :-)

  • How to avoid the double memory assignment for an array which I connected to the shift register?

    Hi,
    I need to read a big block of data into an array. When I stop the program and then restart, I hope  the program to use the previously load arrary instead of reloading it. So I put the initiat Data loading in a for loop (N =1) and connect the array to a shift Register. The problem here is it assigns memory twice,  for the initiator data loading and shift register. Is there any way to limit the memory assaignment to 1 since I only need one copy.
    Thanks.

    JWJ wrote:
    Since my original file is more than 2M and really comlicated, I just make a simple demo file to show my purpose.
    Your current code is way too confusing, so I assume that the full code makes more sense. The program is unusable because the main FOR loop gets locked in an inner loop that consumes all CPU doing nothing.
    I think that branching the main array into the (1) case structure and (2) inner while loop costs you an extra allocation. Here's a more reasonable way to do things. It elimiates the buffer allocation going into the case structure.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DemoMOD.vi ‏11 KB

  • Modbus RTU Command Via TCPIP and Receive The Holding Register Value

    I have connected Energy Meter with Modbus to Ethernet Conveter Via RS485. My Slave Id:1. Mode: RTU. I want to read holdig register values from 3911 to 3920. I have formatted the modbus command and write to tcp write and read the value from TCP read. I have getting invalid values while decoding. 
    Please provide your suggestion.
     

    Hi,
    If I am right you are sending serial ModBus data to the TCP link and you don't handle the received data correctly.
    You also are using the wrong port. Default port 502 is used for ModBus TCP.
    Here is an example how it could be done. Data in is the loopback command.
    Data out is the TCP data without the slave address and CRC of the serial data
    Kees

  • How does one read Digital Certificate attributes/values?

    The plan:
    Distribute a document secured by "Certificate Security".  For those who have been granted the rights to print the document, need to be able to print the "User's Name" on the document - for traceability reasons.
    In before Acrobat XI (using Pro version), I was able do this with in a javascript  assigning "identity.name" and "identity.loginName" to arbitrary variable; then use addwatermarkfromtext function to display this data on each page.
    However with Acrobat XI, I see that identity.name and identity.loginName are Privileged and cannot be called from a page or document level script.  Furthermore addwatermarkfromtext is not supported in Reader (which the recipients are using). So my old tricks no longer work.
    I've over come the addwatermarkfromtext restriction inelegantly by using textboxes.
    The self-signed certificate I'm using allows for signing and execution of script; but not been successful in using the identity attributes - even with trying "app.trustedfunction... app.beginPriv() etc...
    In checking the API reference, see a possible work-around using the certificate properties - specially: certificate.subjectCN. The API reference shows this as a read-only, non-Privileged value!  Am at a loss on how to call/retrieve.  What I am hoping to do is: as the document is secured by Certificate, I want to read the Certificate's "common name" value of the person who opened the document and use this as my traceability token on printed documents.
    Would appreciate examples of JavaScript code to retrieve and use the Certificate.subjectCN of the user who has the document open.
    (or if I'm still barking up the wrong tree - direction to the right path).
    Many Thanks !

    If you just want to read the current state of the lines when one changes, you could configure non-buffered change detection (call DAQmxCfgInputBuffer with 0 samples per channel after you configure change detection timing but before you start your task).
    Use the change detection event and read just a single sample per callback.
    If the software can't keep up though, you wouldn't have a buffer of all of the previous transitions.  If this is something you need, you'll need to keep using the buffered change detection.  Either event could work, but not without caveats:
    1.  The Every N Samples event is generated when the requested number of samples are transferred off of the device to the host PC buffer.  It is difficult to control exactly when this transfer happens (though there are channel properties you can try setting--I can't experiment since I don't have the same hardware handy).  You're not getting the events currently because it is likely that the data is sitting in the device FIFO until the transfer is initiated.
    2.  The change detection event is generated from the hardware signal.  You have to read the data to get the data transfer to happen though, but until you read the data you don't know how many samples there will be (if the line is changing rapidly you might get several samples per event for example).
    For the record I find the buffering pretty awkward on USB devices when dealing with callbacks (e.g. if you are using EveryNSamples callback shouldn't the data transfer be initiated every time N samples are acquired?).  I haven't played with it in a while and it's possible the Data Transfer and Memory Channel Properties can be used to deal with the buffering issues.
    Best Regards,
    John Passiak

  • Reading spi shift register bit with NI 8451

    Hello
    we are proposing to use SPI communication with NI 8451.
    we would like to know as how we could find whether the SPI shift Register bit has been set and also is there any direct means of
    sending this bit result to DAQ without programming.
    Thanks
    Bhavani

    Hello Bhavani,
    The USB 8451 does have DIO lines available and can be programmed by the SPI output.  Please see the USB-8451 User Guide and Specifications for more information about that.  If you have any more specific questions, please let me know.
    Thanks,
    Meghan
    Applications Engineer

  • How to get the selected node value of a tree which is build on java code

    Hi Experts,
    How can i get the selected node value if I build the tree programatically.
    I am using the following code in selectionListener but it is throwing error.
    RichTreeTable treeTable = (RichTreeTable)getQaReasontreeTable();
    CollectionModel _tableModel =
    (CollectionModel)treeTable.getValue();
    RowKeySet _selectedRowData = treeTable.getSelectedRowKeys();
    Iterator rksIterator = _selectedRowData.iterator();
    String selectedQaCode ="";
    while (rksIterator.hasNext()) {
    List key = (List)rksIterator.next();
    JUCtrlHierBinding treeTableBinding =
    (JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
    JUCtrlHierNodeBinding nodeBinding =
    treeTableBinding.findNodeByKeyPath(key);
    String nodeStuctureDefname =
    nodeBinding.getHierTypeBinding().getStructureDefName();
    selectedQaCode = selectedQaCode + nodeBinding.getAttribute(0);
    where I am using following link to create a tree with java code.
    http://one-size-doesnt-fit-all.blogspot.com/2007/05/back-to-programming-programmatic-adf.html
    Please help me in resolving this issue.
    Regards
    Gayaz

    Hi,
    you should also move
    JUCtrlHierBinding treeTableBinding =
    (JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
    out of the while loop as this is not necessary to be repeated for each key in the set
    Frank

  • How can impliment a binary shift register in LabVIEW.

    Respected Sir,
                        I am doing a project at VSSC,ISRO,TVM.For my
    project  i want to implement a binary shift register and this is
    reuired to shift a Pseudo Random Noise. Can you help me to design a
    binary shift register.

    Hi proff,
    do you mean shifting the bit content of a number by 'binary shift register'?
    If so, there are several options. LabView provides many functions do achieve your goal:
    Remember you can use boolean operation (AND, OR, XOR) also on numbers. Logical shifts can be made faster by using 'Add' or 'Quotient/Remainder' (at least in Assembler :-)...
    Message Edited by GerdW on 03-14-2007 02:41 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    binaryshift.png ‏1 KB

Maybe you are looking for

  • Render error while running interactive forms using ABAP

    Hi all,    I am trying to create an adobe form using ABAP through SFP T-code. While I am trying to execute it, it is generating a Render Error. The error message is as follows: Exception       SYSTEM_ERROR Message ID:          FPRUNX                 

  • Resource repository exception:

    Hi,    When I try to make changes or save to any xdp or any other file / creating a new file in workbench, I'm seeing this popup: here is the message: Unable to process change notification for test1.xdp. The cause of the error is: com.adobe.repositor

  • How to change Current Number in number range?

    Is there a FM I could use to easily change current number(NRIV-NRLEVEL)? I made a quick try with NUMBER_RANGE_INTERVAL_UPDATE but couldn't make it work, at least not yet. An example code would be greatly appreciated.

  • Why we can't use provide to retrieve Time Infotypes records?

    Hi experts, I read some meterials that in HR report we can not use provide statement in LDB to fetch time infotypes records, use Loop instead,can anybody explain why and give a example. Thanks.

  • How to get the pid at the oslevel

    Hi I have few querys 1)How can i find the pid(oslevel) of a particular session 2)how to know the sid of the session we logged in Thank you