05-15-2020 07:02 AM
Hi all
I have a project acquisition voltage by usb6211 with multi thread both run get error and single run is Ok as my video,please help me check it ,How to fixed it,thanks
05-15-2020 07:54 AM - edited 05-15-2020 07:57 AM
Hi sageliuliu,
@Sam.Huang wrote:
Hi all
I have a project acquisition voltage by usb6211 with multi thread both run get error and single run is Ok as my video,please help me check it ,How to fixed it,thanks
Don't try to read AI channels in different DAQmx tasks in parallel.
Your device only allows one DAQmx task for all AI channels…
Btw. your RAR archive is missing the LabVIEW project file (*.lvproj). You also should create standard ZIP files instead of using proprietary RAR formats…
05-15-2020 08:02 AM
I can't watch your video because of your proprietary RAR file, but I assume you got error -50103. If you had search for "error 50103" (leave out the negative sign since that has a special meaning with google), you'll find this is a verify frequent issue with new LabVIEW programmers and found dozens if not hundreds of threads right away telling you the issue.
05-15-2020 09:27 AM
05-15-2020 09:39 AM
@RavensFan wrote:
I can't watch your video because of your proprietary RAR file, but I assume you got error -50103. If you had search for "error 50103" (leave out the negative sign since that has a special meaning with google), you'll find this is a verify frequent issue with new LabVIEW programmers and found dozens if not hundreds of threads right away telling you the issue.
I believe you can enclose it quotes like this "-50103" and you'll be fine. i.e., error "-50103".
05-15-2020 01:04 PM
Hi sageliuliu,
@Sam.Huang wrote:
actually I want to set mutex control execution priority,when both start,run to same task,A run other standby A finish then B start,cross run no affect,please help me fixed it
When you want to run part of your code after some other part has finished then you just need some wires to enforce DATAFLOW! No need for any "mutexes"…
Suggestion: It really helps when you would apply some better grammar/punctuation rules, like spaces after commas. The sentence you wrote would be much more readable…