Creating multiple tasks in labview fpga
Hi,
I need to create multiple tasks in labview fpga....I need to set one update period in each task so that i can make my while loop run at this rate everytime my input frequency changes....How do i do this?
Hi,
just to be sure: You are talking about multiple tasks on the FPGA to acquire data? Or do you want to have multiple tasks on the host to display the data?
Similar Messages
-
Create Multiple tasks for Single Item in List using state machine workflow in sharepoint
Hi,
I want to create multiple create tasks for Single Item in List based on Assigned to column using state machine Workflow through visual studio
Here Assigned to column allows multiple users. so i have to create task for every user based on column .
I'm trying for this but i didn't got any solution
Please provide solution for this.Hi,
According to your post, my understanding is that you wanted to allow multiple users to approve.
There are some articles about creating parallel tasks in state machine workflow, you can have a look at them.
http://www.codeproject.com/Articles/477849/Create-Parallel-Task-in-State-Machine-Workflow-in
http://msdn.microsoft.com/en-us/library/office/hh128697(v=office.14).aspx
http://social.technet.microsoft.com/Forums/office/en-US/b16ee858-4360-479a-a686-4ee35b7be9db/sharepoint-2010-workflow-creating-multiple-tasks?forum=sharepointdevelopmentprevious
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Creating multiple tasks depending on field responsible
I would like to create one task which has
multiple charges.
The system should createa task for each
person who is in charge.
Is there abuilt-in function?
should I use designer ?
NikitaBased on your description, my understanding is that you want to create a task which has multiple charges.
Refer to the following steps:
Prepare the needed components
1.1
Create Site Collection
1.2 Activate SharePoint Server Enterprise Site Collection Features.
1.3 Create the needed users
2. Build the leave requests SharePoint list
3. Build InfoPath form
3.1 Create the needed controls and views
3.2 Disable enable controls according to current state
3.3 Validation and submitting the leave request
4. Build SharePoint designer workflow
4.1 Building the logic
4.2 Adding tasks assignment, email notifications and History
For more detailed steps, refer to the following article:
http://jamilhaddadin.com/2011/12/03/implementing-workflow-using-infopath-2010-and-sharepoint-designer-2010/#4
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
I am using the CVI plug-in for MSVC. My application requires that I toggle a set of digital lines based on a user's input. For a variety of reasons I would like to initialize my DAQ task handles at the start of the program so that when I need to toggle the lines I just call Run and Stop.
Some of my tasks use the same lines. I know that if I try to define multiple tasks using the same lines that I will get an error (-200089).
My question is this: Is there a clever way to pre-define my tasks at the start of the program even if they use the same lines?
Thanks.UGH! Cut and paste got me. Stupid syntax error. I can do what I wanted to do.
-
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> -
Procedure to create multiple tasks
hi gurus,
What is the procedure to create the multiple steps taks in workflow and tcode for that.no i mean in workflow we have 2 types of tasks
1- single step tasks.
2-multiple step tasks.
single step tasks which we create normally.so i want to know how to create the multiple step tasks.i heard that we need to start with-
1. In the UWL view, choose New Task.
2. Select Multiple Steps from the Task Type dropdown list.
3. Under Subject, enter a title for the task.
4. Choose Add Step.
Here iam unable to get the step 1.please could you tell me the exact procedure. -
OVI Suite creating multiple tasks
I have "upgraded" the PC Suite software on my Windows 7 laptop to Ovi Suite 2.0.1.35 and now every time my phone syncs, any recurring tasks are created for the next 6 months and the recurrences are screwed up so that I have to reset everything manually. Initially I had 2000 tasks created as it created new entries for the next 20 years. I could then not remove them from the phone as there was no available memory. I have now got this down to about 56 tasks when there are only 28 in my Outlook (2007) file, but this can change between syncs. It has also screwed up a couple of Contacts email addresses, but nowhere near as badly as my tasks.
Is this a known issue with the software? Frustrating as hell. There were never these kinds of problems with the "old" software!
And also, is there a way to syncronise the Calendar and not the tasks? That would fix my problem but they are under the same option.I have the same problem. I use E51 and the same version of Ovi Suite. It created thousends of task.
Here are the application and system details:
Nokia Ovi Suite 2.0.1.35
Nokia PC Suite 7.1.30.9
PC Connectivity Solution 9.39.0.0
Connectivity Cable Driver 7.1.20.0
Nokia Ovi Suite Software Updater 2009.40.0.60128
Maps Service API 3.0.35.0
Nokia mPlatform 2.5.195
Ovi Desktop Sync Engine 1.0.0.684
Operating system:
Microsoft Windows XP 32 bites kiadás, Service Pack 2
Language: English
Internet browsers:
- Microsoft Internet Explorer 6.0.2900.2180
- Mozilla Firefox 3.5.5 (Default)
Bluetooth version:
- Microsoft (Version: 5.1.2600, build: 2180) -
Loading a Previously Saved Task into LabView
I have created a digital generation task in LabView and saved it using DAQmx Save Task.vi. I am able to open and run my task in Measurement and Automation Explorer. Now I am wondering if it is possible to load this task back into LabView and run it in a new program. Can I do this with the task saved from DAQmx Save Task.vi or would I need to go about it differently? Where would I start loading the task in terms of vi's?
Thank you for your help.I am actually not asking the same question as before. Previously, I was having problems using a LabView-created task in MAX. Now I am attempting to create a task in LabView and bring it back into LabView on a separate VI. I have found the answer, though.
https://decibel.ni.com/content/docs/DOC-15842
Thank you for your help. -
LabVIEW FPGA: Multiple SCTL versus one SCTL (same clock domain)
Hello NI forums,
Question:
See the attached picture from a modified version of the LabVIEW DRAM FIFO example. It probably explains my question more effectively than the paragraphs below.
What is the difference to the LabVIEW / Xilinx compiliers, if any, between placing two independent branches of code in the same SCTL, versus placing them in individual SCTLs (in the same clock domain)?
Misc. comments:
I have briefly experimented with this concept using the included LabVIEW DRAM FIFO example (example finder >> Hardware Input and Output >> FlexRIO >> External Memory >> Simple External Memory FIFO.lvproj).
I compiled the default example (the read and write interfaces are in separate 40MHz SCTLs) five separate times. Then I put the read and write interfaces in the same 40MHz SCTL and compiled another five times. The result (when both read and write interfaces were in the same SCTL) was a reduction in resource usage (according to the compilation summary).
However, due to my lack of knowledge I'm hesitant to conclude that placing everything in one SCTL is always the best option. For example, I do not know what is created 'behind the scenes' with each SCTL. Perhaps putting independent branches of code in separate SCTLs makes it possible to route clock, reset, implicit enable, etc. signals more effectively.
Background information:
My task involves acquiring 2 channels of analog data using the NI 5772 and PXIe-7966. Data acquisition takes place in a 200MHz SCTL, and downstream processing is performed in a 100MHz SCTL.
During a vast majority of the 100MHz SCTL processing stages of the FPGA VI, the 2 channels of data do not interact with eachother. So it would be easy for me to place them in separate 100MHz loops if doing so would somehow help the design (timing, resource usage, etc.).
Thanks!
Attachments:
question.png 76 KBIntaris
Trusted Enthusiast
Posts: 3,264
Re: LabVIEW FPGA: Multiple SCTL versus one SCTL (same clock domain)
10-28-2014 12:11 PM
Just out of interest, what is the resource usage differential between the two versions?
In response to the above comment,
This is a little embarrassing, but it seems like the resource usage is similar than I initially thought for this particular example. I think the previous compilations that I based my assumption on coincidentally used more resources in the 2-SCTL loop case. I just compiled each version two additional times (see below).
Here's the version with everything in one loop:
Device Utilization
Total Slices: 17.6% (2587 out of 14720)
Slice Registers: 9.5% (5583 out of 58880)
Slice LUTs: 8.2% (4855 out of 58880)
DSP48s: 0.0% (0 out of 640)
Block RAMs: 2.5% (6 out of 244)
Device Utilization
Total Slices: 16.9% (2493 out of 14720)
Slice Registers: 9.5% (5583 out of 58880)
Slice LUTs: 8.3% (4858 out of 58880)
DSP48s: 0.0% (0 out of 640)
Block RAMs: 2.5% (6 out of 244)
Here's the version with the read and write in separate loops:
Device Utilization
Total Slices: 16.4% (2407 out of 14720)
Slice Registers: 9.5% (5583 out of 58880)
Slice LUTs: 8.2% (4852 out of 58880)
DSP48s: 0.0% (0 out of 640)
Block RAMs: 2.5% (6 out of 244)
Device Utilization
Total Slices: 19.4% (2859 out of 14720)
Slice Registers: 9.5% (5583 out of 58880)
Slice LUTs: 8.3% (4859 out of 58880)
DSP48s: 0.0% (0 out of 640)
Block RAMs: 2.5% (6 out of 244) -
Creating multiple instances of a class in LabVIEW object-oriented programming
How do you create multiple instances of a class in a loop? Or am I thinking about this all wrong?
For instance, I read in a file containing this information:
Person Name #1
Person Age #1
Hobby #1
Hobby #2
Hobby #3
Person Name #2
Person Age #2
Hobby #1
Hobby #2
Hobby #3
Person Name #3
Person Age #3
Hobby #1
Hobby #2
Hobby #3
If I define a Person class with name, age, and an array of strings (for the hobbies), how can I create several new Person instances in a loop while reading through the text file?
FYI, new to LabVIEW OOP but familiar with Java OOP. Thank you!First of all, let's get your terminology correct. You are not creating multiple instances of a class. You are creating Objects of the class.
Use autoindexing to create an array of your class type.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
LabVIEW FPGA Module Error Code 10 when creating bitfile
I am recieving the following error message when trying to compile a vi:
Internal Error
An internal LabVIEW FPGA Module error occurred at the following stage: Creating Bitfile.
Error Code: 10
Error Text: Create Folder in nirviRecursiveCreateFolder.vi-
>nirviRecursiveOpenFile.vi->nirviWriteBitFileInformation.vi-
>nirviCompileDownload.vi->hardware_template.vi
If this problem persists, please contact National Instruments.
Any help would be appreciated. I am not very familiar with LabView, and am trying to run code generated by a grad student several summers ago. If more information is needed, let me know and I will try to provide it.
ThanksArkolbus-
It sounds like the compiler is having some trouble creating a folder that it needs to generate the bitfile. First, check all of the usual things: are you an administrator? do you have worte access to the "FPGA Bitfiles" folder in your project?
If it looks like you should be able to write the file, you can try posting your project (zipped) and let someone on the boards try to compile it (be sure to let us know what the versoin is). If we can compile it without issue you may want to try repairing your FPGA module installation.
Xaq "Bulldozer" -
How to create a DAQmx task in LabVIEW ?
I want to create a new DAQmx task in LV. I've used 'create new task' VI in LV. Bt I want to see the created task in MAX task list also.
There is no hardware device connected. Its just simulation.
Solved!
Go to Solution.Here's a driver we use. The design intent is to make sure the software provides the tasks that we need so it's not dependant on resources already existing.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
Attachments:
DAQDIO_InitializePorts.vi 34 KB -
How to create multiple physical channels using DAQmx?
Hi, I am new to Labview.
Can anyone please help me on how to create multiple physical channels? I am following the LabVIEW examples in the NI example finder but they are only for acquiring signals from one channel.
Actually, I am using the channels of an SCXI 1520 to measure voltage signals. And one more thing, in the NI Example Finder, they are sample codes there for setting the filter in SCXI 114x.
Will this example work with an SCXI 1520, too?
Thanks!There are many ways to read multiple channels in LabVIEW. First, if you look at that example that lets you set the filter setting on the 114x and you click on the 'Physical Channel Listbox' then click 'Browse' you can see that you can select multiple channels. After you select the channels and hit 'Ok' it will build a multiple channel string. This is one way to read multiple channels.
Next, you can create a 'Task' in Measurement and Automation Explorer(MAX). When you create this task select all the channels that you need to read then back in LabVIEW simply select a 'DAQmx Task Name Constant' Select the task you just created and wire that to an Input of your first DAQ VI. If you do this you do not need to have a 'DAQmx Create Physical Channel' VI or create
Task because it is already created in MAX.
When looking at example VIs you can tell if a multi-channel read is acceptable by looking at the 'DAQmx Read' and if it says NChan that means it will do a multichannel read. There are tons of example programs that will display the multichannel read capabilities.
This example may not work for the 1520 because the properties that are set could possibly be specific to the 142x. When using the 1520 though it is very likely that the properties will be very similar if not exact. You will simply put a DAQmx Channel property node on your block diagram and then look for the Lowpass filter settings properties that will most likely be in the same location. Now another way todo this without using a property node would be in MAX when you create a task set the filter settings from the Device tab in the task configure window.
Let me know if you need anymore help with reguards to this issue! Have a great day!
Allan S.
National Instrument
s
Applications Engineering -
CHaRM-Is that possible to create multiple Transport Request in UC
HI Gurus,
Quick question on ur.gent correction using Solution Manager CHaRM in EHP1. Is it possible to create multiple transport request(TR) for single ur.gent correction (UC). DO NOT confuse with transport task.
For example, after I created transport request and developer start working and release the task, realised to add another transport request for same UC. When I tried, it did not create any TR but checked the message found that
Schedule Manager: Monitor
Job Status: Processing completed, but with warnings
Program Name: /TMWFLOW/SCMA_TRORDER_CREATE
Action to be checked: Ur.gent Correction: Create Transport Request
There is already an open request, XXXXXXXXXX, for this project
So only way I can do that I released the TR and able to create another TR.
May be wondering why I need to create another TR, why not create TASK and work on that.
But this is the requirement at our company.
I will appreciate the effort and time to provide me the solution of this.
Thanks
AvaHi Ragu,
That's really quick turn around. Unfortunately not able to found whatever you mentioned in your message. Here is detail,
I navigate to Actions - Depending on Status, found the entry as
Trans. Type StatProf UserStatus Seq Action in SAP Change Manager
SDHF SDHFHEAD E0002 10 CREATE_HF
SDHF SDHFHEAD E0002 20 CREATE_REQ
SDHF SDHFHEAD E0002 30 SAVE_PARTNER
SDHF SDHFHEAD E0002 40 SET BO LINKS
Where SDHF - Ur.gent Correction
E0002 - In Development
CREATE_HF - Create an Instance in SAP Change Manager
CREATE_REQ - Create Transport Request with Task
SAVE_PARTNER - Save Partners in Respective Partner Roles
SET BO LINKS - Sets Links to Business Objects
I don't see any OPEN_TR.
Any other place need to make change.
Thanks
Ava -
Hello,
Im using LV7.1 with NI-Daq 7.4.
in my Application i use multiple tasks, a few for aquiring analog and digital input from my first 6024E and one to aquire digital input from my second 6024E.
In most of the time this works very well, but from time to time, when the mxdaq read VI for the second task is executing for the first time, an error message occurs. This erromessage tells me, that i passing an empty string instead of an task reference to the mxdaq read VI of my second card. After Reexecuting my App it works fine without creating error messages until I reboot. For me it looks like an initialization/synchronization problem. Both cards are properly installed and visible/testable in MAX.
For syncroniziation of these cards i use the same MX-DAQ clock source.
Perhaps i have to reconfigure the task initailization but i dont know what is wrong.
thank for helpI'm guessing that the reason that you only see this sometimes is that it is a race condition between the read call and task creation. I've seen this problem before and the cause is usually that you are trying to read before your task is created. This can be caused by using an asynchronous process to create your channels/tasks apart from doing your multi-channel reads. To eliminate this problem I suggest you write your application in such a way that you create all of your tasks first, before trying to read from any of them. The easiest way to do this is to wire up your create task VI's in order before your reads, as these VI's will block until they complete task creation.
Hope this helps,
DB
Maybe you are looking for
-
Expanding text fields side-by-side in a 2 column layout
Hi, I've been trying to create a form that is a 2-column layout. This form contains expanding text fields that are side-by-side with additional form elements underneath. I managed to get the expandable fields to work, however, if the user writes too
-
Are the delays in iMessage fixed in IOS 7.1 ?
For quite some time there are discussions about delays in iMessages. For me (iPhone 4S, IOS 7.0.4) iMessages started to show huge (up to 45 minutes) delays in communication with exactly one person (iPhone 4S). The problems suddenly showed up and were
-
Java.lang.LinkageError while deploying.
Hello All, I am working on an application which runs on jboss and while deploying I come accross the below error. 09:55:37,607 ERROR [[ehaweb]] Servlet.service() for servlet ehaweb threw exception java.lang.LinkageError: loader constraint violation:
-
We have sales district as one of our characteristics. I think it is std. SAP delivered. It is mapped from KNVV table. I need it from VBKD (transactional). Its not allowing me to create one as there is one already exists. How do I do that? Is this sal
-
Weblogic server- some basic questions
Being new to Weblogic, I want to know the best practices for following: I am dealing with WLP(weblogic Portal server) 10.3.2. I need expertise of guys on this forum. 1. I have setup a Dev server with WLP and am currently starting WLP with /domains/ba