03-30-2023 10:08 AM
I guess I need to see my laptop:D
I'm looking for the Task Configuration BD as an image.
03-30-2023 10:13 AM
Hoping this is what you're after.
03-30-2023 04:40 PM - edited 03-30-2023 04:47 PM
OK,
Time to show you how a pro does it
With a well commented BD and developer comments. Took me 15 minutes. The Task timing is assumed to be single sample on demand.
Developed in LabVIEW 2023 not backsaved
03-31-2023 04:09 AM - edited 03-31-2023 04:14 AM
@JÞB wrote:
OK,
Time to show you how a pro does it
With a well commented BD and developer comments. Took me 15 minutes. The Task timing is assumed to be single sample on demand.
Developed in LabVIEW 2023 not backsaved
When I use a file dialog to populate a TDMS path I get the following error:
If I use a filepath, I get -201309
Using the highlight execution, the error occurs in the DAQ read, and it appears that both reads get the same channel for some reason.
No modification to the posted VI so not sure what's going on?
03-31-2023 04:12 AM
Hi LVIEWPQ,
@LVIEWPQ wrote:
No modification to the posted VI so not sure what's going on?
Use two TDMS files for two DAQmx tasks: each task wants to have exclusive access to its TDMS file…
03-31-2023 04:39 AM
@GerdW wrote:
Hi LVIEWPQ,
@LVIEWPQ wrote:
No modification to the posted VI so not sure what's going on?Use two TDMS files for two DAQmx tasks: each task wants to have exclusive access to its TDMS file…
Even with 2 different logfiles, I get Error 201309.
Followed : https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DmwnCAC&l=en-GB which hasn't resolved the issue.
03-31-2023 04:42 AM
Hi LVIEWPQ,
@LVIEWPQ wrote:
Even with 2 different logfiles, I get Error 201309.
Error -201309: "Unable to write to disk. Ensure that the file is accessible."
Which filepaths do you use?
(On which target is your VI executed?)
03-31-2023 04:52 AM
I have tried
"C:\Users\lharris\Desktop\Pressure logfile.tdms"
"C:\Users\lharris\Desktop\Temperature logfile.tdms"
&
@GerdW wrote:
Hi LVIEWPQ,
@LVIEWPQ wrote:
Even with 2 different logfiles, I get Error 201309.Error -201309: "Unable to write to disk. Ensure that the file is accessible."
Which filepaths do you use?
(On which target is your VI executed?)
"C:\Users\lharris\Desktop\Plogfile.tdms"
"C:\Users\lharris\Desktop\Tlogfile.tdms"
03-31-2023 06:20 AM
@GerdW wrote:
Hi LVIEWPQ,
@LVIEWPQ wrote:
Even with 2 different logfiles, I get Error 201309.Error -201309: "Unable to write to disk. Ensure that the file is accessible."
Which filepaths do you use?
(On which target is your VI executed?)
I have a sneaky suspicion that the Task configurations are not 1 sample on demand.
Show a screenshot of the DAQmx Wizard. Just right-click the Task constants and show the configuration page.
04-03-2023 02:36 AM
@JÞB wrote:
@GerdW wrote:
Hi LVIEWPQ,
@LVIEWPQ wrote:
Even with 2 different logfiles, I get Error 201309.Error -201309: "Unable to write to disk. Ensure that the file is accessible."
Which filepaths do you use?
(On which target is your VI executed?)
I have a sneaky suspicion that the Task configurations are not 1 sample on demand.
Show a screenshot of the DAQmx Wizard. Just right-click the Task constants and show the configuration page.
Everything appears to be set up correctly?