Working multiple tasks and executable vi

Hi,
I have been working a code for a long time and it is getting closer to the end, but I have some doubts about building a standalone application. In the system, there are temperature and amperage measurement devices. I prepared the vi but I am not sure that they work properly due to the absence of required hardware for now. My doubts are about the vi:
1. Could I optimize the vi for running faster?
2. Could I make this vi executable to run it in a PC without Labview. (I installed the DAQmx 9.04 in the PC without Labview. It contains MAX, Signal Express, etc.)
3. One of the subvıs includes read text from spreadsheet function so there are 2 text files in the program. How could I embed these into the executable version instead of showing the path of text files at each run of the vi?
4. When I exit labview and reopen the vi, sometimes, the vi could not find devices (I mean simulated ones). But, after opening MAX, it finds them. When I prepare an executable of this vi, can executable vi find devices automatically or do I need to add some code to find devices automatically?
Thanks in advance.
Egemen
Attachments:
Program Backup.zip ‏604 KB

GerdW wrote:
Hi Newbieeng,
2) When creating an installer in the AppBuilder you include all needed runtime engines for your executable. No need to copy them on their own...
3) As I already wrote those files will be placed by default in the "data" subfolder of the executable. So your exe only has to get it's own path and append "data" as subfolder to find the files...
Hi GerdW,
I thought that I was not able to express what I wanted to say clearly. I attached a printscreen to make it clear. I wish I had done it. Actually, I do not worry about embedding text files into the executable, I worry about that whether the executable vi find them or not?
Egemen
Attachments:
paths.png ‏21 KB

Similar Messages

  • How to configure multiple buffers and execute them sequentially?

    I would like to build up a path follower using at least two buffers. I wish to write data into the buffers in advance and then execute them sequentially. How can I do?
    I have tried the case for using two buffers, and could only get the two buffers to work "sequentially",
    which means that I could first write data into buffer 1, then execute it, then write data to buffer 2,
    then execute it. Is there any way that I could use multiple buffers and exectue them as the sequence as
    I want?
    The following are the steps that I used for dual buffers:
    buffer 1:
    flex_set_op_mode
    flex_configure_buffer
    flex_write_buffer (check ready)
    flex_start (check complete)
    buffer 2:
    flex_set_op_m
    ode
    flex_configure_buffer
    flex_write_buffer (check ready)
    flex_start (check complete)
    I wish to achieve the following:
    flex_configure_buffer (buffer 1 & 2)
    flex_write_buffer (to buffer 1)
    flex_start (buffer 1)
    while waiting (flex_write_buffer (to buffer 2))
    flex_start (buffer 2)
    The purpose of my using two buffers is to try to prepare data for buffer 2 when we are waiting
    for the execution of buffer 1 and we could execute buffer 2 almost immediately when buffer 1 was
    done. Apparently, I have tried and with no luck to get it to work.

    You can always configure a buffer for indefinite continuous operation by setting the total points value in the configure buffer function to be the maximum value allowed. You can the use the check buffer function inside the while loop to monitor the backlog of your buffer in order for enough positions to be avaliable for the next set of points to be downloaded. As long as your sets of data are of a smaller size than the total buffer size this will have the effect you are desiring. You can always make your precalculations for the next set of points while the previous move is being executed, you just need to allow enough time between the beginning and the end of your first move for the next calculation to be done.

  • Synchronize multiple tasks and multiple boards with X-series USB devices

    Hi all,
    I am trying to figure out how to synchronize multiple tasks across multiple X-series USB boards (6353, to be precise). 
    I have to run a digital output task AND an analog output task on each board.  All four tasks (the DO and AO on Board 1, and the DO and AO on Board 2) must be synchronized.
    I know how to synchronize multiple tasks on a single board.  I've been doing that for years.  That works fine.
    I know how to synchronize a single task across multiple boards (say, a DO task across 2 different boards).  That works fine too.
    For the life of me, I can't figure out how to marry the two.  Everything I've seen, all of the examples, etc. assume you want to do one or the other, or that you have a RTSI cable available.  Are there any examples out there that synchronize multiple tasks across multiple USB boards?
    I tried exporting the AO clock signal from my master AO task to PFI12, and then using the signal on PFI12 to as the clock source for the remaining tasks (Dev1/PFI12 physically connected to Dev2/PFI12, and Dev1/PFI12 set as the clock source for Dev1's DO task). 
    I have also tried setting Dev1/aoSampClock as the source for Dev1's DO task.
    Under both configurations, I invariably get error -89137 when I try to start the tasks -- required resources (PFI12) in use by Dev1/do/SampClock.  I understand what the error is telling me.  What I don't understand is why I'm receiving this error when I don't have any of my tasks configured to use the DO Sample Clock.  It seems as though it is not possible to export a clock signal to a PFI line and simultaneously run a clocked digital task, even if the clock source for that task is specified as something other than the DO Sample Clock?
    So, my question is, is it possible to do what I want to do?  And if so, how do I do it?  How do I configure a common clock source across multiple tasks running on multiple USB boards?
    Hoping for insight from those wiser than I...
    Diane
    Solved!
    Go to Solution.

    Update:  I decided to try using a counter as the source clock.  One cannot use counter 0 to accomplish this, but it does appear to work with counter 1.
    I'll take what I can get.  Fortunately I have two spare counters.  (Yes, I'm running counter tasks too -- 6 of them -- but they don't have to be synchronized.)
    I have to add both digital and analog input tasks as well -- all synchronous with each other, but not with the output tasks since they'll be running at different sample rates.  I hope I'm able to use a counter as the source clock for those as well.
    My head aches.

  • Digital Signatures: Multiple Tasks and Signers

    Hello, All-
    Context: We have a repair and overhaul operation that has several technicians performing maintenance. Basic workflow: product comes in, gets the paperwork for the specific maintenance, and then travels through the facility to be broken down, serviced, rebuilt, tested, and returned to service. We would like the "paperwork" to be all electronic (which we can do with Acrobat by using PDF documents), but there are several tasks that require a technician's signature. Not a digital signature for the WHOLE document, just a task in the document.
    Objective: Multiple technicians signing off on mutilple tasks, all in one document.
    Questions: Can we modify the document (i.e., add/insert pages) in Acrobat after a digital signature is applied using the Reader? Do those signing off on the tasks only need the Reader to create and apply the signature files? Can multiple signature files be stored in a centralized location, since technicians use work station machines (rather than a computer issued specifically to them)?
    Doing some investigation for the best solution. Sorry for the series of long questions.

    > "No. However, this can't be done in Reader under any circumstances... Reader is just that, a reader of PDF files. It can't edit them in any meaningful way, like add new pages (unless a special template was set up for this purpose)."
    - I should have clarified: we would like to modify the document using the full Acrobat Suite after digital signature. Signing once locks the entire document from further edits.
    > "Not 100% sure about that, but I think the answer is no. Signatures have to located on the local machine."
    - That's a problem: then every technician needs a digital signature on every machine. Not suitable at an enterprise/department level.
    I just found an answer to the basic concept, as it was answered just yesterday (http://forums.adobe.com/thread/1338837): I can leverge the Stamp feature and create a custom stamp to act as a signature. I can still modify the document after applying the stamp.
    Now the test: can others remove my stamp?
    Edit: Thanks for the help, BTW. I see you edited your answer to question #1. Again, maybe the stamp feature is sufficient?

  • Work Flow Task and Object

    Please let me know how to find the workflow object with help of the task

    Hi Prakash,
    You can use the above method if you want to find the workflow template where the task is being used. If it is the object type (and method) that is being used in a task that you want to find out, then go to pftc, give the task numaber (8 digit) and in the next screen, under Basic data tab, u will find a section 'Object Method'. You will find the object type and method here. You can navigate to the object by double clicking or by specifying the object name in tcode swo1.
    Hope this helps.
    Thanks,
    Leena

  • Problem in Task and Ressource Management

    Hi Guruu2019s
    I am working on Task and Resource Management, configured the system as per the requirements for TRM, then created inbound deliveries and Transfer order for that deliveries the TO is not confirmed. But when I am executing the TRM Monitor and dragging thes site to inbound delivery number onto the transfer order, the TO do not exit in the TRM Monitor.
    Why itu2019s not coming any suggestion please.
    Thanks in Advance
    Regards,
    Sai

    Hi Sai,
    Please check the tabl entries in SE16 or similar
    1. Assigned the site to the WH number (T340DT-LOCAT)
    2. Activated TRM for the movement type/Storage types (T347A-KZINA)
    2. Turned two step confirmation on for source and destination storage types (T331_B-QUEIN  & T331_B-QUAUS)
    Can you see anything in LTRM TRM monitor (no selections = only enter site number) i.e. a delivery number or TO?
    If not please try:
    1 Transaction LTRCC
    2. Deleting the data delivery/TO and recreated it?
    If this does not help, I could take a look at you setup if you allow external access?
    Thanks James

  • Create multiple Task Instance from one Task Instance

    We have a process, where user can request for multiple resources(access) in one single request.Currently user has to wait until all the resource requests are approved by application owners to start the provisioning process.
    I am thinking of splitting that one request(task) into multiple task, based on the number of resources requested.so that, if one resource request is approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task and pass the required information to child task?
    2.How do I handle views?Currently since its one task , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view overwritten by the other.
    Thanks.

    We have a process, where user can request for
    multiple resources(access) in one single
    request.Currently user has to wait until all the
    resource requests are approved by application owners
    to start the provisioning process.
    I am thinking of splitting that one request(task)
    into multiple task, based on the number of resources
    requested.so that, if one resource request is
    approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task
    and pass the required information to child task?
    2.How do I handle views?Currently since its one task
    , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view
    overwritten by the other.
    Thanks.Hi,
    yes u can split one task into multiple task means as ur requirment diffrent task for different resource. so u have to write diffrent W/F for each resource and call them by setting a counter for number of resource.
    the below code help u.
    <Variable name='index'>
              <i>0</i>
         </Variable>
    <Activity id='1' name='createNewTask'>
              <Action id='0' name='createView' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='createView'/>
                   <Argument name='type' value='Process'/>
                   <Argument name='viewId' value='Process'/>
                   <Argument name='taskName'>
                             <s>give any name to the task</s>
                   </Argument>
                   <Argument name='process'>
                             <s>task name that u want to launch</s><!-- u can get task name dynamicly by rule also by passing resource name -->
                   </Argument>          
                   <Argument name='accountId' value='$(accountId)'/><!-- pass the required information to child task as argument -->
                   </Action>
                   <Action id='1' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='checkinView'/>
                   <Argument name='view'>
                        <ref>view</ref>
                   </Argument>
                   </Action>
                   <Action id='2'>
                        <set name='view'>
                        <null/>
                        </set>
                   </Action>
                   <Transition to='incrementIndex'/>
    </Activity>
         <Activity id='2' name='incrementIndex'>
              <Action id='0'>
                   <set name='index'>
                        <add>
                             <ref>index</ref>
                             <i>1</i>
                        </add>
                   </set>
              </Action>
              <Transition to='createNewTask'>
                   <lt>
                        <ref>index</ref>
                        <ref>length</ref><!-- number of resource-->
                   </lt>
              </Transition>
              <Transition to='end'/>
         </Activity>

  • Work  Flow Template and Work flow tasks

    Hi,
    Work  Flow Template and Work flow tasks are the two objects which are found surprisingly in our client system(when we go to PP01/ HRP1000 IN SE16 ).My employer wants to know what these are:
    Can any one please tell me about "Work  Flow Template and Work flow tasks".
    are the SAP Generated?
    Can we delete them if we don't need?
                                                                                    Thanks in Advance
                                                                                    Gopi Palleti

    Hi Gopi,
    Workflow Template and workflow tasks are part of SAP Business workflow.
    A business workflow is an executable process embedded in SAP applications that you use to automate business processes. 
    You can find more info here.
    http://help.sap.com/saphelp_nw70/helpdata/en/c5/e4b62c453d11d189430000e829fbbd/content.htm
    Regards,
    Sharadha

  • Call and Execute Multiple Windows of the same VI

    Hi,
    I would like to call and execute multiple windows of the same VI.
    Please take a look for my attached vi, and start from the 2x2.vi, i think you have to re-enter the file path to run (sorry for inconvenience).
    If I click the start button in different sub panels, the sub vi(Temperature Analysis.vi..& etc) should be called out in multiple windows, hold it, and run simultaneously.
    But now the problem is, the sub vi is called out 1 by 1 until it is finished prior the second sub vi is called.
    May I know how to solve that?
    Thanks.
    Attachments:
    My VI.zip ‏173 KB

    Hello TanTan
    1. Open the PopUpmain.vi and select the path of PopUp.vi
    2. Enter the number of popups and run the VI.
    Hope this attached VI will work as per your expection. Please select the less number of instances 
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    PopUpMain.vi ‏12 KB
    PopUp.vi ‏8 KB

  • Palm Treopro--Sync multiple calendars and task lists

    I have more than one calendar and task list that I use in Outlook.  Is there a way to sync multiple calendars and task lists on the Palm Pro?
    Thanks,
    Al
    Post relates to: Treo Pro T850 (Sprint)

    I just upgraded to Pre 2 a couple weeks ago and have been experiencing similar problems with my Verizon model and a replacement.  Apparently it is widespread; there is a lengthy (11 pages so far) thread on it in this Community forum.  Try http://palm.lithium.com/t5/Synergy-webOS/strange-behavior-syncing-Pre2-Calendar-with-Google-Calendar... or Google the phrase "strange behavior syncing Pre 2 Google" (look for a search response that references "11 pages" or you'll miss some  of the more recent posts).  Not sure there are any good answers at the moment.  Very disappointing if so; the Google/Pre sync worked flawlessly on my Pre Plus for the past 15 months (webOS v.1.4.5)

  • Why is the Executable class only available in Script Task and not in Script Component.

    Why is the Executable class only available in Script Task and not in Script Component.
    Here is a link to the Executable class documentation.
    http://technet.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.executable.aspx
    Mr Shaw

    Because Executables are available only in Control Flow. Script Task is a control flow component whreas Script Component is a data flow component. It works on data buffer and rows and not on executables.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • TS3367 We have one Apple I'd and multiple devices, and are not getting FaceTime to work between the devices on the same id

    We have one apple I'd with multiple devices and FaceTime will not work between them?

    Put separate email addresses (free gmail) on each device.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • HT5622 The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings no

    The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings nothing!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Game Center and sign out and sign back in
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • Combining package configuration and Execute SQL task at run time

    Hi everyone,
    I have an issue regarding setting values at run time
    I use package configuration to manage different enviroments scenarios (DEV, PROD):
    XML file to store the connections string of SSISConfigDB
    and the actual values of parameters in that SSISConfig DB tables Filtered by ConfigurationFilter column
    Now, one of my packages needs in addition setting at run time value of a flat file name
    i used an Execute SQL task - within the task i read into a variable the file name using command line
    then, the full path of Flat File Connection is set by expression concatenating the root folder and the variable
    the problem is that the variable stays empy! as if the Execute SQL task was never executed!
     Am i doing something incorrect? in the package configuration wizard the configured value are only XML file and the connection string of the DB.
    to summerize - how can i combine package configuration, default value, Execute SQL task and expression at runtime?

    1.EvaluateasExpression=TRUE (Full Path variable)
    2. Do you mean to invlole a ISNULL() function in the expression? if so, no
    3. Of course i recieve a valid value
    4. The Full path expression is evaluated to the root folder - without the portion of the file name
    here is the syntax in Execute SQL Task:
      truncate table OnErrorFlagTable
      Declare @Path varchar(128)
      Declare @FileName varchar(128) 
      Declare @SenderID varchar(5)
      Declare @INST_COD varchar(5)
      Declare @Flag int = 0
     Declare @FileType varchar(2)='01'
      Truncate table TraumaRecords
    Select @Path = 'C:\RootFolder\'
     --***Insert into Temp table the file so we can take his name***--
    Create Table #Tmp(Txt Varchar(Max))
    Insert Into #Tmp(Txt)
    Exec master..xp_cmdshell 'Dir *.txt C:\RootFolder\/b'
    select top 1 @Filename = Txt From #Tmp
    Where ISNUMERIC(substring(Txt,1,1))=1
    order by Txt desc
    Insert into OnErrorFlagTable
    Select 2,@FileName
    Select @FileName as TraumaFileName,@FileType as FileType
    Then, in ResultSet TraumaFileName and FileType are mapped
    Expression of @TraumaFlatfileFullPath is
    @[User::TraumaFlatfilePath]+ @[User::TraumaFlatFileName]
    where the variable @[User::TraumaFlatfilePath] is evaluated in variable window (default value)
    and it's value is C:\RootFolder\
    and @[User::TraumaFlatFileName] is the ResultSet of the ExecuteSQLTask
    and for some reason when executed in SSIS return null while in SSMS return the expected value
    Can you try making this into a procedure with required parameters and call it from SQL task to see if you get return value correctly? Use OUTPUT parameters for getting back required values
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Synchronization of tasks and interaction logs with Outlook doesn't work

    Dear SAP Experts,
    I'm workink on CRM 7.0 (release 7.7.06.010).
    We are trying to make the synchronization of activities, contacts and tasks from our CRM system to Microsoft Outlook.
    It's working fine for the contacts and for the Apointment BP visit (transaction type Y020).
    But no synchronization made for others activities (interaction log Y007 and telephone calls PCAL) or BP Tasks (Y030) we created in the system.
    We just applied today SAP Note 1415263 and Groupware Integration 3.057.
    I made the settings in the CRM Calendar tab in Outlook (with synchronization from CRM to Outlook), and checked apointment, contacts and tasks.
    In customizing (CRM > Transactions > Basic settings > Define transaction types), I flagged for the following transaction types the little 'Calendar' box: Y020, Y030, Y007 and PCAL.
    In another entry (CRM > CRM Middleware and related components > Settings for client-based synchronization), I indicated the transaction type Y020 for DEFAULT_APPT_PROC_TYPE and Y030 for DEFAULT_TASK_PROC_TYPE.
    Any idea about what is missing or not already done?
    Any help will be apppreciated.
    Thanks in advance for your help,
    Kind regards,
    Grégory KREMSER
    Edited by: Grégory Kremser on Feb 3, 2010 3:13 PM

    We don't have a CAS array set up.  We want the fail over to be fully manual and only fail over to another server when mb1 is in a completely failed state and won't be back up and running withing a set time frame.  We can get everything working
    on MB3 and only Outlook doesn't work when everything is on MB2.  Outlook also doesn't work if databases are on another server and DNS is pointing Outlook to MB2 (again MB3 works fine).

Maybe you are looking for

  • Error message in bsp application

    hi Im tamil selvan .....this is my first bsp application i created .. but i cant view the output..the default html code itself not executing... i copied the same code in text and saved in html its executing there... i dont know what is the issue..is

  • Can't delete more than 5 podcasts at a time via Smart Playlists

    Can't delete more than 5 podcasts at a time via Smart Playlists, using the Shift+Delete keys to force deleting the source podcast. Becomes VERY tedious to get rid of old podcasts with certain "smart playlist" filters. Advice? Bug?

  • Services in SICF for Information broadcasting.

    Hi gurus, Can anyone please help me with what all services need to be activated in SICF, a list of these services for information broadcasting to be successful. Points will be assigned accordingly. regards, Sree.

  • F.18 Balance Confirmation: Print, Send E--Mail and Send FAX in same time ??

    Hi Experts, In T-Code F.18 we can Print or Send Email or Send FAX to vendor. To do this, we specified a custom Function Module in FIBF. This function module decides which way the document will be sent. And i set decision mechanism  with Vendor Defaul

  • Is it possible to transfer my photos in my HD to iPhoto?

    I am trying to import my Photos from my Mac HD, but every time when I do that a pop up window just appears and states that "The following files could not be imported (they may be an unrecognized files type or the files may not contain valid data." Pl