How does the TS_SeqFileSequenceNameExists() function work?

I am creating a TestStand Sequence file using CVI and would like to know the correct syntax for using the TS_SeqFileSequenceNameExists() function.
Basically what I'm trying to do is add a sub sequence to my file and if the sequence name already exists, change the name. So the code looks something like this:
if(!(TS_SeqFileSequenceNameExists(seqFile,NULL,subSequenceName,&myTempVBool)))
//sub sequence doesn't exist... add it
else
//subsequence name already taken, change the name
Thanks,
Marek D.

Hi Marek,
you're logic is a little out - in your example code you are testing the error, not the bool "myTempVBool"
so something more like
(TS_SeqFileSequenceNameExists(seqFile,NULL,sub SequenceName,&myTempVBool));
if(myTempVBool == VFALSE)
//sub sequence doesn't exist... add it
else
//subsequence name already taken, change the name
NOTE :
You need to rename the object BEFORE you try to insert it. Have a look at the help file on
SequenceFile.InsertSequence where it says about the sequence must not already exist in the file. (Also don't forget to release the clone object when you've finished)
Have a look at your other question on "How do I change the name of a sub sequence using CVI" , I've included an example there which shoul
d help you out.
S.
// it takes almost no time to rate an answer

Similar Messages

  • How does the Delta functionality works while updating Infocube from PA

    Hi Gurus
    How does the Delta functionality works when you send forecast to the Info cube from the Planning Area.
    As I have weekly based planning, every week we have to update the forecast into the Cube. If I update  every week into the Cube , then the values are going to append  in the Info cube.
    Shall I create ODS in between the Planning area  and the Info cube .
    (or)
    Any other method ?
    Please Suggest.

    Hi Preetham,
    Data Extraction from planning area to infocube usually its supports for full update only, when u r going to load the data from planning area to cube ,it deletes the previous data and u vil get the fresh data, this is the best method performance wise,
    if u want to use the delta functionality u can go for planning area to Dso, Dso to cube, it vil supports the delta functionality, but it vil degrades the system performance,
    regards
    ravi

  • How does the sync functionality work with large libraries on small devices?

    How does the sync functionality work with large libraries?
    Say I sync 100gb of photos with the new Photos app and turn on sync on a 16gb iphone. Will it fill the device up to 16gb? Can I tell it to limit to xgb so I leave room for music and apps? How does this work? Will it slow down my phone if its trying to sync 100gb across smaller devices?

    "Will the Apple TV now read directly from the Time Capsule?" ATV does not 'read' from the TC. It connects to the Mac and itunes library associated with the Mac. Of course the itunes program can 'point' to a library on the TC. You'll still need to have itunes open and the Mac powered on and not sleeping with the TC mounted to the Desktop to use ATV properly. So bottom line the use of TC just adds one more step to view files on the ATV.

  • How does the SignatureClear() function work?

    Hello everyone:
    I have read Javascript for Acrobat API Reference (8.0) and I'm still wondering how SignatureClear() works. Is it possible to clear a signature field with this? How? It is said that you can not work with it in Adobe Reader... but I have seen some other functions working despite of the Availability column: is it possible to use it in Reader?
    Code examples will be very appreciated.
    Regards,
    Javier

    Javier
    I have not reviewed thew API documentation, but I can comment...
    1)  To "clear" or remove a digital signature, you need to have access to the "private" key (digital credential\certificate) that was used to generate the signature.  This means that typically, only the signer can remove their own signature.
    2)  You cannot sign a PDF document with Reader, UNLESS the PDF has been "reader extended" with the "signing" permission that will enable the ability to sign a document with Reader.  A PDF can be extended with LiveCycle Reader Extensions (server product) or with Acrobat Professional.  I have nottried it myself, but I would assume that the "signing" permission would need to be enabled on the document to allow Reader to remove (clear) the signature, assuming agaion that Reader had access to the private key used to create the signature.
    Hope this helps.
    Steve

  • Does the bluetooth function work with the scanner function on my Photosmart C5550?

    I have a new Dell computer and an HP Photosmart C5550.  I use bluetooth to connect to the print. The printer function works correctly but the computer does not recognize the scanner function. Does the scanner function work with bluetooth?
    This question was solved.
    View Solution.

    Sorry. I hit post before I could elaborate. Not sure what I was thinking. The Bluetooth connection will only support printing. To use the scan feature you will need to connect the printer using a USB or network connection. Hope that explains it a bit better.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Does the GPS function work if you are out of cellular & wifi range?

    How does the aGPS function of the iPhone 3G work? Do you have to have a cellular or wifi connection to be able to get a location fix, or will GPS satellite signals-only be sufficient?

    Question?
    Answer.
    If you don't have EDGE, or 3G, how is the iPhone MAP app going to download the map?
    It won't, as it can't.
    I don't believe they are built in.
    You believe right.
    This is why Apple needs to let someone build a true GPS app for the iPhone, which you can download the maps to the phone.
    Maybe. But this was not the question. The question was, if the iPhone 3G would be able to find it's location even without WiFi and cellular network. And yes, it would find the location. The question was not if it would be able to display that location in the Maps app.

  • How does the event structure work & ...

    How does the event structure work & and how to modify the case example if you want to change the name of the case? I haven't a look at the manual but nothing about event structure is mentioned.

    I know how it works.. =P

  • How does the notify() call work in Java?

    Hi!
    Can someone help me:
    How does the notify() call work in Java?
    H�var

    Java's Thread Tutorial
    JavaWorld: Introduction to Java threads
    IBM: Introduction to Java threads
    Google: java+threads+tutorial

  • How does the copy button work in safari for ipad (copy button under facebbok share button)?

    How does the copy button work in safari for ipad (copy button under facebbok share button)?

    On a website ...  
    Tap the Action icon bottom of that window. (white square with a right facing arrow) then tap Facebook.
    You should see the following depending on the what content the website can share.
    Copy / Mail / Message / Twitter / Print  / Bookmark

  • How does the Passbook application work? How am I able to import my plane ticket, concert ticket etc into Passbook?

    How does the Passbook application work? How am I able to import my plane ticket, concert ticket etc into Passbook?

    Try the following to fix the iTunes Can't Connect issue that you are having:
    Open Settings.
    Open General.
    Open Date & Time.
    Switch the Set Automatically setting to Off.
    Open Set Date & Time.
    Set the date to a year ahead.
    Go back to the Home screen and open Passbook.
    Tap the App Store button. The App Store should load.
    Go back to Date & Time and turn on Set Automatically.
    Thanks to: https://discussions.apple.com/message/19622208#19622208

  • How does the newest Iphone work with Ford Sync?

    How does the new Iphone work with Ford Sync? I was thinking of purchasing the 4s but may go elsewhere if there is a better phone for the equipment in my vehicle.

    That would be a NO.. I should have done my homework before I switched to IPhone because the Bluetooth just does not want to sync with my Ford Truck. Its such an inconvience. But I see from other posts that Ford isn't the only car experiencing problems. So Hopefully Apple fixes this problem QUICKLY!

  • HT4914 How does the payment method work for iTunes Match?

    How does the payment method work with iTunes Match. For example, if you have a gift card, does it take it out of that. Or is there tax? What if you cancel your subscription in the middle of the year, does it take the money for that year or not? If someone could answer those questions it would be greatly apreciated. And if anyone has their own questions, feel free to ask. Thank you.

    Hi HLFrank,
    Welcome to Adobe Forum,
    You can opt for monthly payment in a yearly contract or pay at one go for an year.
    Please check the option at http://www.adobe.com/in/products/creativecloud/buying-guide.html
    Regards,
    Rajshree

  • How does the .accept() method work?

    Hi,
    I have checked the source code of the ServerSocket implementation that comes with the jdk.
    I tought I was going to find some type of loop. However I found nothing like that! so how does the accept method work.
    I mean when we call the .accept() method, the thread in which the socketServer is initialized gets stoped untill a new client connection is recieved! how is this actually managed?
    Regards,
    Sim085

    At a guess, the accept call that Java makes, relies on the OS system call through JNI. accept would then block until a new connection is present if you are using blocking.

  • How does the follwoing query work?

    Want to know how does the follwoign query work??
    For every row in flsp
    the subquery is going to get executed or is it just one time execution of the subquery??
    UPDATE flsp
    SET (DURATION, sdr, inr) =
    (SELECT SUM (tot_charges), SUM (tot_charges_sdr),
    SUM (tot_duration)
    FROM t
    WHERE t.sender_pmn = flsp.sender_pmn
    AND t.recipient_pmn = flsp.recipient_pmn
    AND t.imsi_min = flsp.imsi
    AND TRUNC (t.call_date) = TRUNC (flsp.call_date)
    AND t.call_type = flsp.call_type
    AND t.service_code = flsp.service_code
    GROUP BY sender_pmn,
    recipient_pmn,
    imsi_min,
    TRUNC (t.call_date),
    call_type);
    Edited by: user8731258 on Sep 27, 2010 2:54 AM

    user8731258 wrote:
    the global session table is going to hold data for one sessions where as the table flsp is going to hold data for the entire day.During a session there could be say 10 thousand records.Sounds like a bad idea.
    user8731258 wrote:
    ANd there are goign to aroung 100 such sessions.Continues to sound bad.
    user8731258 wrote:
    I have to update the flsp continually.Just got worse.
    user8731258 wrote:
    How do i make this fetch fast??This still makes no sense to me.
    Why are you moving all this data around and utilizing temporary tables instead of directly querying the underlying data on an 'as needed' basis?
    I think you have undertaken entirely the wrong technical approach to whatever business problem you are attempting to solve (though it's hard to say for sure as we still know little of what you've got going on).
    So back to step number one like i asked before.
    Can you explain (from the very beginning) WHY you are attempting this type of set up?

  • How does the trade in work?

    How does the trade in work. If you don't get your gift card until 4-6 weeks after you mail it. How do you apply it to the cost of the new phone?  If I go to a store that has it in stock will they give you the credit in the store?

        Hi Karen922!
    I can happily alleviate the confusion! If you visit a store and the iPhone 6 or 6 Plus is available you'll receive the trade in value during the transaction. If the device is purchased online,via the phone or if the store is out of stock, you'll receive the gift card in mail.
    Thanks,
    AyaniB_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Mac Mini running so slow

    Not sure how to diagnose issues on my Mac, but I gathered I should run Etre and post results here.  I know I could add more RAM, but this is so slow that I have to believe something else is going on.  Can someone spot anything unusual in the followin

  • Go to a position RELATIVE to the current

    Hallo, For the Homepage of my School I have to make a Page-Overview. I use many (this time 20) different, but same sized, images. These should stay 10 sec. and then should come the next one. If you click (on.Press) at the image, the page should be op

  • Outbound and Abstract Sync message Interface difference

    Hi Experts, Is there any difference between the input and output messagetype for Outbound/Inbound Synch Message Interface and Abstract Sync Message Interface. Do we  need to mention the same input and output messagetype for both outbound and Abstract

  • Vision:M enlarge capac

    Hello every one. I'm considering buying a Creative Vision:M 60GB player but I have a small question first. I'm affraid that the 60 GB won't last for long and the free space will run out(I have many many CDs and as CDs store worker it will only get la

  • Adobe and no open with option

    I downloaded the new adobe reader so I could sign documents and then email them.  This was working until upgrade, now my "open with" option in mail is gone.  It gives me two options mail or print.  Any suggestions?