Use tasks without MAX

Hello everyone, I need your help. Due to some that HE reasons, I can't install MAX on one of my computers in tests. The DJ is a copy of a previous test bench. In the initial testbed, the user had to choose a NI DAQmx task in the application. Now, I want to keep the same working principle. For this reason that I copy the MAX configuration since the original testbed report and paste it on the new computer (the one without MAX). I will read the configuration settings of the .html (tasks, channels, scales, etc.).

I know that I can use OR-DAQmx Run-Time Engine 9.1 (heart), so I can work without Max (it always was not testicles)

My problem is, how to do that the user selects a task (unknown number of parameters strangers, channels, etc.) as well as the measurement will take place without problems? If I have not installed MAX, can I use all the DAQmx palette icons?  Thank you

The_sun

PS. Y at - it an option to the date of importation of the .nce file?

Hi The_sun,

For your situation, it can be a bit tricky to create by the task and program their settings based on the user's selection.  There is a way, although if you can configure all the options of possible task before the program begins. You can use a box structure that allows you to select which task to load based on the case picker control that the user can choose before the time of execution.  What tasks do you intend to have control of the user?  Your front panel may become cluttered with all the selectable settings, but you can program windows to tabs or other methods of organization if you wish.

You can use all the vi from the palette DAQmx without installed MAX.  The vi is the driver himself, is independent of the application of MAX.

When you speak with the import of files .nce?  The date of its creation?  My first research and experimentation did not turn anything on the import of a date from this file.

Tags: NI Hardware

Similar Questions

  • DAQmx 50103 error, two tasks of MAX on the E-series

    A bit of a surprise here, even after reading all the posts on the infamous error of-50103.

    I'm debugging a data acquisition task, in LabWindows/CVI, for a PC with an E-series PCI card (PCI - 6032E, I think). There are two analog channels: one is a photoelectric sensor ("receiver") that is read in bursts, the other ('power') is an electricity meter that is read from time to time. I've set up two tasks, Max with the corresponding calendar and the trigger settings; Load them into my program using DAQmxLoadTask() and others, and we're off. Where I encountered problems, that's when I need to restart the task of 'Receiver' and re - allocate buffer according to certain parameters of execution. When I do that, the call to DAQmxStartTask() fails.

    If, as I understand it, the problem is that you cannot have two tasks simultaneously running on the same tray, so why don't I get the error-50103 when I first start both tasks?

    The basic sequence looks like this:

    Init() //called once at the beginning of the init program the two tasks

    DAQmxLoadTask (& Receiver_handle)

    DAQmxSetTrigAttribute (& Receiver_handle)

    AllocateBuffers()

    DAQmxLoadTask (& Power_handle)

    DAQmxSetTrigAttribute (& _handle Power)

    AllocateBuffers()

    InitTask(&handle) //called to stop and restart the task of the receiver with new buffer settings

    CloseTask(&handle)

    StopDAQ(&handle)

    DAQmxStopTask(&handle)

    DeallocateBuffers()

    DAQmxClearTask(&handle)

    DAQmxLoadTask(&handle)

    DAQmxCFGInputBuffer(&handle)

    DAQmxRegisterEveryNSamplesEvent(&handle) //register Manager of data (task receiver only)

    AllocateBuffers(&handle)

    StartDAQ(&handle) //called once for each task, called once again after the call to InitTask()

    DAQmxStartTask(&handle) [failure]

    The program successfully call StartDAQ twice at the beginning and starts each two tasks without error. I only get the - 50103 to the DAQmxStartTask () call the second time, I call StartDAQ() for the receiver, after the judgment task, reallocation of the buffers and reloading of the task (which happens without error). Any help much appreciated.

    Hello

    I hope that you had a wonderful holiday season, looking at your code, I think it will take to ensure that you have a task that is running, below I think would be the best way to initialize the task at hand and see if it works.

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai1","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",10000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000));

    If this does not resolve your problems I check the example finder and see if any of this code is able to help you.

    Finally, I have two examples of data strings at the same pace and if you have too many samples on a single line you can throw most of these samples.

    I hope this helps,
    Daniel

  • I want to use Thunderbird without saving e-mails on PC. How is that possible?

    I want to use Thunderbird without saving any email to a local folder in my PC.
    Can you help me please on this?
    Thank you.

    There are two types - POP and IMAP
    You will need to login to your webmail account using a browser and select the option to use the IMAP forwarding Protocol - assuming that the option is available.

    E-mail POP accounts can only access the server Inbox.
    Emails are downloaded to your computer and stored in your Thunderbird profiles folder. So this guy can't according to your needs.

    IMAP e-mail accounts provide a remote view of files and emails stored on the server.

    You subscribe to view these folders. Then the headers are downloaded and when you opt for the display of an email, the email is downloaded in a temporary cache.

    Subscribed folders that are synchronized, download a copy of the file and store it in your Thunderbird profile. But these files are constantly updated to reflect what is stored on the server.

    Your best option would be to create an IMAP e-mail account, you sign up to see the folders on the server, but do not select to synchronize subscribed folders.

    E-mails stored in your Thunderbird profile on your computer load faster than those that must be retrieved from the server each time.

    Info on the synchronization, so you can see how to turn on or off.

  • I upgraded to el capitan, now I can't use illustrator without installing Java and Java will not be installed

    I've upgraded to el Capitan and now can't use Illustrator without Java and Java is not installed.

    What Java did you install? There is the old V. 6 of Apple and a newer version of Oracle. What version of Illustrator do you use?

  • How to reduce the volume of alerts in FF when using webmail without lowering the system volume (Mac)?

    I use Mac OS 10.6.8.
    When I access my webmail via Firefox, I get a Twitter hard whenever I have send or receive a new email.
    I contacted my ISP (Optimum) and they said tell Firefox to my computer to make the sound. They say that they have no control over it.
    I tried to reduce the volume of alerts in my system prefs, but it has not affected the volume of FF.

    How reduce or disable volume in FF when using webmail without lowering system volume?

    Thank you!!! The 'sound' button off in their preferences. Fixed. (It was so freakin ' fort!)

    I, in turn, chatted with Service to customer of Optimum and tells them that they must tell their supervisor to better educate their own service to the customer, instead of passing the ball. We'll see.

    Let contributors Mozilla smart to not return the ball.

  • I just uploaded a clip of mpeg streams but tells me I can't use it without a mpeg-2 Playback component.  Can you recommend what to buy?

    I just uploaded a clip of mpeg streams but tells me I can't use it without a mpeg-2 Playback component.  Can you recommend what to buy?

    You can use Streamclip for most cases, but to play MPEG-2 files, like. VOB files, and to convert them to other formats, you should buy the reading component QuickTime MPEG-2 for Mac OSX, you can get online from the Apple Store for $19.99.

    However, I am under El Capitan like you, and when I tried to install the MPEG-2 component, I got a message that it could not be installed on my

    disk because the app was for an earlier version of my OS.  I don't know if others have had this problem, but I thought that I could

    mention it to you before you passed the $20.00.

  • I got an iphone 4 to a friend in the Canada. I want to use it here in the Philippines as a regular iPad reserved for wifi, how can I use it without sim card? It does not pass the activation page. Help please?

    I got an iphone 4 to a friend in the Canada. I want to use it here in the Philippines as a regular iPad reserved for wifi, how can I use it without sim card? It does not pass the activation page. Help please?

    You can activate it without a SIM card. If it is locked, it takes a SIM card by the carrier, for it is locked. The SIM card should not be linked to an active line of service, but it must be present to activate it.

  • I use SIRI without pressing the home button when my phone is disconnected?

    I use iphone 6 more with IOS9.2.

    I use SIRI without pressing the home button when my phone is disconnected?

    No, you can use the Home button.

    Use Siri on your iPhone, iPad or iPod touch - Apple Support

  • can I use printer without window? can I program printer by fpga kit?

    can I use printer without window? can I program printer by fpga kit?

    Hello

    The question you posted would be better suited to the MSDN Community.
    Please visit the link below to find a community that will provide the support you want.
    I hope this helps!
  • How to automate ScanDisk using Task Scheduler tool?

    There is no file c:\windows\scandskw.exe on my XP, does anyone have any suggestions on how to automate using Task Scheduler tool in XP ScanDisk?

    Thanks for all the suggestions

    Saturday, August 14, 2010, 02:18:45 + 0000, SC Tom wrote:

    There is no program Scandisk in Windows XP.

    In order to specify that the person you are you answer to the. There is no program
    called the Scandisk, but there is a program with this feature; There
    Called Chkdsk.

    Ken Blake

  • How replot a table using plotXY without creating a new parcel?

    I want to replot continually a table using plotXY without increment the name of the parcel. Is this possible?

    Whenever I call plotXY a new path is created. For example, the first time that plotXY is run, I get a marked route Plot1 (parcel number 1). The second time I call plotXY, I get a parcel named Plot2 (parcel number 2) and so on. But I want to draw the same picture several times that I've added more data to it. And I want the name of the parcel to be Plot1 every time.

    I know that I can change the name 'Plot1' attribute after the call to plotXY. But I feel that somewhere in the internal parts of the graph I'm ever increasing utilization of certain resources. I'll be Replot the table several hundred thousand times so I don't want to run out of memory or something.

    So my question is this, is it possible to re - initialize a graph to its original state before you run the plotXY?

    Do not confuse the name of the parcel and manage the resources allocated to the curve. If you delete all the plots in the graph with DeleteGraphPlot () then draw a new curve, you should have 'Track 1' under the name of the plot, but you will get a continuously raise the handle of the plot; This does not assume that you are summarizing additional resources whenever you draw on the graph, the graph simply never reuses draw handles associated with deleted locations.

    In your case, you can also try a different approach:

    1. Use a graph of the band instead of the chart: if possible you will avoid the problem of more names of conspiracy and will reduce the program activity that you will draw only new points in every race
    2. Only new field points with PlotXY showing only the first parcel in the legend: you will need to keep track of array index, already mapped out so that if you have traced up to array [index] to date, you will draw array [index] to array [newindex] on the new iteration
  • How to taskkill all the open running program using Task Scheduler?

    I already know the command "taskkill /f /im notepad.exe" or n *...

    But how to kill any process running in the task (ex > process and automatically process background execution..).

    program to kill only with the windows open...

    If I run taskmgr.exe program alone and add task annex taskkill, add the arguments: /f /im t *.

    It must end only taskmgr.exe, not activate end taskeng.exe, taskhost.exe process...

    Finally, I want to know only to close all windows opened using Task Scheduler or by using another program that can be.

    When you have a number of tasks of the same name, then you must use their PID to kill selectively.

  • Close a program using Task Scheduler

    How can I close a .exe program by using Task Scheduler? Eg - is the case of NetMeter, I want the program to automatically close every day at 02:00. It can b done?

    Waiting for a quick response...

    Kind regards.

    Ah I see.  Do not schedule the cmd.exe to run.  Taskkill itself is already an executable command.  So just plan sound directly in the program/script box:

    Taskkill /f /im "NetMeter.exe.


    Do not put anything in the arguments box.  When the program runs, you will briefly see to open the command prompt, the program will be completed, then the command prompt will disappear on its own.
  • How to use Photoshop without an internet connection

    I need to use Photoshop, but due to problems of security of the program is not allowed to connect to the Internet. What are the versions that I can use and how to get them? 99 days/30 days is not the solution (with CC).

    You can always download CS6 on another computer and transfer to your safe to install computer.  You must activate it if.

    Does that help?

    Successfully Setup & activation CS6 (not creative cloud) behind an authenticating Proxy Server

    Without knowing more details, we can only guess.  Also I'm not sure if it is possible to use CC without ever connecting to the Internet.

  • I want to use adobe without mm in the edition of a document

    Hi all

    I'm trying to edit a document, but get a warning that the adobe sans mm is not available on my system. It seems that all of the text in the document is created in this font. It uses a substitute font, but not one that looks like the original at all. I like a police closely matched, or better yet, just be able to use adobe without mm. otherwise, you can see my amendments if you look closely. I found an arial font that will do as a substitute, but want to do better.

    Any ideas?

    Thank you.

    Adobe and Adobe Serif MM are backup fonts that Acrobat uses every time a font is not embedded in a pdf document.

    These fonts are Multiple master fonts that don't exist in Acrobat and are not available at the level of the system.

    According to Dov Isaacs at Adobe, you must have a really installed font in your system to be able to use it to change a PDF file.

    Think of these virtual fonts that actually do not exist on your computer, thus so that they cannot be used to modify a PDF file.

    You can see them and you can print them, but you cannot access it.

    The only exists in Acrobat and not coming into play that a default font that Acrobat uses whenever the real police which was used was not incorporated.

    (Master several fonts never really became popular, and are no longer produced.) They have been replaced by the Foundation open type fonts)

Maybe you are looking for

  • Satellite A100-405: keyboard shortcuts don't work on Vista

    Hello I recently installed vista ultimate on my computer toshiba laptop, everything seems to work well, except the shortcut keys.Is it possible to download the drivers for keyboard somewhere, without having to put all these tools Toshiba on?I really

  • How can I play the sound in my os window7

    Please tell me how I can play sound in my pc window 7

  • BB10 and BBM connected Apps questions

    1 when he invites to the connected app BBM I can fill in the fields and click on invite-nothing happens where did - inviting directly from surveys BBM works instantly. 2. on the page / screen with the bar scanner/updates / apps - connected app is her

  • Cod app and library can be for different platform versions?

    I am writing an application that must run on a wide range of versions of the device. Some of the application contains code depending on the version, but a little is independent of the version. Are there problems or special considerations for structur

  • The development of application gains

    Is it possible to detect when my application gets the focus again. I want to start the camera, the user to one or more photos and then detect when my application has new focus so I can stop the listener of the newspaper. Any ideas?