Can I synchronize the counters on two different computers in the C API?
I installed the M-series cards (6254) in several computers. I would like to synchronize the counters for each card. The best way that I came with to do this was to have the counter on each counter entries read a common external clock signal running at 10 KHz I have would then feed a second signal to each card and trigger the task that runs each counter starts when the second line goes high.
Following the examples provided with the C API, it was easy to get each card KHz signal and then to match the beginning of the counter that I tried to read
DAQmxCfgDigEdgeStartTrig (taskHandle, inputLineStr, DAQmx_Val_Rising);
However, this did not work and gave me the following error:
DAQmx error: the specified property is not supported by the device or is not applicable to the task.
Property: DAQmx_StartTrig_Type
Task name: task
State code:-200452
End of the program, press the Enter key to exit
I know it's very simple sync the cards within a computer using the RTSI interface, but it is not possible that my cards have to reside in different computers.
It is even possible to synchronize the counters on computers, and if yes how can I do it with the C API?
------------------
Here's what I've written so far:
#define DAQmxErrChk (functionCall) if (DAQmxFailed (error = (functionCall))) goto error; on the other
int main (void)
{
int error = 0;
TaskHandle taskHandle = 0;
uInt32 data = 0;
tank errBuff [2048] = {'\0'};DAQmxErrChk (DAQmxCreateTask ("task", & taskHandle));
DAQmxErrChk (DAQmxCreateCICountEdgesChan(taskHandle,"/Dev1/ctr0","",DAQmx_Val_Rising,0,DAQmx_Val_CountUp));
DAQmxErrChk (DAQmxConnectTerms ("/ 10MhzRefClock/Dev1", "/ PFI8/Dev1", DAQmx_Val_DoNotInvertPolarity));
DAQmxErrChk (DAQmxCfgDigEdgeStartTrig(taskHandle,"/Dev1/PFI14",DAQmx_Val_Rising));DAQmxErrChk (DAQmxStartTask (taskHandle));
printf ("without interruption of the poll. Press Ctrl + C to interrupt\n");
While {} (1)
DAQmxErrChk (DAQmxReadCounterScalarU32(taskHandle,10.0,&data,));
printf ("\rCount: %u", data);
fflush (stdout);
}
Error:
puts("");
If (DAQmxFailed (error))
DAQmxGetExtendedErrorInfo (errBuff, 2048);
If (taskHandle! = 0) {}
/*********************************************/
Stop DAQmx code
/*********************************************/
DAQmxStopTask (taskHandle);
DAQmxClearTask (taskHandle);
}
If (DAQmxFailed (error))
printf ("error DAQmx: %s\n",errBuff); ")
printf ("end of the program, press the Enter key to quit\n");
GetChar ();
return 0;
}
Hi neurostu,
Arms start triggers are disabled by default, so they do not have a default PFI line.
You will need to set some properties DAQmx to configure a trigger for start of arms. Try adding between DAQmxCreateCICountEdgesChan() and DAQmxStartTask():
DAQmxSetArmStartTrigType (taskHandle, DAQmx_Val_DigEdge);
DAQmxSetDigEdgeArmStartTrigSrc (taskHandle, "/ Dev1/PFI14" ');
DAQmxSetDigEdgeArmStartTrigEdge (taskHandle, DAQmx_Val_Rising);
You have the file "help NOR-DAQmx C reference"? It should contain descriptions of the trigger > more > arm Start properties.
Brad
Tags: NI Hardware
Similar Questions
-
Can I manage a site using two different computers using Dreamweaver CS6?
Can I manage a site using two different computers using Dreamweaver CS6?
Yes, by using Check In / Check Out and a computer do not replace the work of the other or create copies in conflict.
-
My boss wants me to take my computer adobe so two other Associates can have instead. He's also under my name and need to change its name. Is this possible?
Would you sign out of your Cloud account to disable your computer existing... the account change requires Adobe
This is an open forum with a mixture of program users and staff of Adobe, Adobe support... you need Adobe support
Coordinates of Adobe - http://helpx.adobe.com/contact.html can help
-Select your product and what you need help with
-Click on the blue box "still need help? Contact us. "
-
Can I download my apps on two different computers with the same CC membership?
An iMac, a PC (Windows 7). Download the applications on both computers?
Of course, you can download on any 2 computers according to your choice.
You can install on a Windows and a Mac. or 2 Windows or Mac 2
-
can I use my DAQ on two different computers?
Hello.
Sorry if this may seem a stupid question, but I'm trying to save money lol. I have two test stations, each station has its own computer and power. Power supply powers a certain device and the computer communicate with him via a converter USB to RS422 series. I use the 2 analog outputs on my NI USB DAQ 6008/6009 controls 2 power supplies. AO 0 to check power supply to the station #1 and 1 A0 to control the electric power in the #2 station. I can control these 2 feeds very well with a computer connected to my DAQ. But I need every computer to run trials independently. I don't have that 1 DAQ but 2 computers, is there way to use this data acquisition on both computers?
Thanks for any help!
I found the easiest way for me to do this is to run two VI on a single computer. Since I have 3 usb ports on my labtop, I can use 2 of them to communicate through series with two of my devices and the 3rd for the acquisition of data.
Thanks Knight of NOR to make clear on the use of 2 computers.
-
Hello! A purchased plan-program can be used on two computers?
Cloud license allows 2 activations http://www.adobe.com/legal/licenses-terms.html
-Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
-https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html
-Windows or Mac has no importance... 2 on the same operating system or 1 on each
-Two activations on one account CAN NOT be used at the same time (to be noted in the link above of the license)
-
You can use the x 86 version and the x 64 version on two different computers
I have a key/installation of Windows 7, which can be used for installing the x 86 version or the x 64 version. Could I use the x 86 version and the x 64 version on two different computers?
Hi hgcxngv,
No - not at the same time. A key is an installation by the license agreement (regardless of the size of bits). Is excluding the special manufacturer or license multiple keys which normally applies to companies and I am sure that you would know if you had a since they would cost much more to buy and were more difficult to obtain (if you remember).
You can install by using 32 bit on a computer and then uninstall it from this computer and install the 64-bit on the other or vice versa (although you'll probably need to use the help of phone to activate the second time since the automated process will most likely perceive it as an attempt to both facilities and reject and you will need manual for past this problem).
The foregoing does not apply to OEM licenses that cannot be installed on computers with they came, live and die with this computer (even if the key would have worked on each version, perhaps in order to simplify things for the manufacturer).
I hope this helps.
Good luck!
Kosh
-
If I buy the adobe cc then can I use it on several laptops at the same time? I use two different computers for my work. as one for photoshop and Illustrator for example.adobe
This excerpt from: terms of conditions of use Adobe software should help to clarify the terms for you:
..... You can activate the software on up to 2 devices (or virtual machines) at the same time, if these activations are associated with the same Adobe ID for the same person, except http://www.adobe.com/go/activation_fr. However, you cannot use the software on these devices simultaneously.
You can also see:FAQ: where can I find the terms of membership and the terms of use?
-
Synchronize a .muse file in two different computers before downloading
I used to keep the site updated, but now someone else will update another section of the Web site.
So I have the .muse file on my computer and the other person have an identical copy of the .muse file.
My question is: if I make the changes on the Web site, its .muse file will be synchronized until it can make changes?
I know that when I edit the file online, I receive a message asking to synchronize the file before editing it, but I don't know if is the same thing with editing the file to two different computers.
Thanks in advance for any help...
Johnny
Hi Johnny,.
You may be better to store the .muse file in Dropbox for example or you two work from that. Of course, you cannot work on it at the same time however, but you will always have the most recent. Don't forget to keep your goods here as well.
-
have two different computers and have problems recoving from hybernation. Locking the system
Original title: recovery of hybernation
I have two different computers MS 7 and have all two issues recoving from hybernation. They lock just straight up (do not accept an entry mouse or keyboard) and requir3e hard re boot. Goes 8 to 10 times a week.
Hello
(1) did you of recent changes to the computer before the show?
(2) is the specific question at the opening of specific applications or programs?
(3) you get an error message?
You can perform the following methods and check if it helps.
Method 1: Windows 7 hangs or freezes
http://support.Microsoft.com/kb/2681286
2 the resolution of the problems of method Performance
Run the troubleshooter of performance, then check if it helps.
Check out the link: http://windows.microsoft.com/en-US/windows7/Open-the-Performance-troubleshooter
Method3:How to troubleshoot performance problems with sleep, hibernation and resume:
http://support.Microsoft.com/kb/950686
Note: The article remains valid for Windows 7 also if it is for Vista.
For more information, connect to:
http://Windows.Microsoft.com/en-us/Windows7/sleep-and-hibernation-frequently-asked-questions
Method 4: update video drivers card
Check if the video card drivers are up to date. Install the latest video card drivers for Windows 7 on the manufacturer's Web site.
Tips for solving common driver problems:
http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-driver-problems
It will be useful.
-
Is it possible to use two different computers with the same adobe - ID and the same adobe license?
Hi Morten,
Yes, you can have your subscription or your license installed on two different computers with the same adobe id, however use one at a time.
Please let us know if you have any questions, more about it.
-
If you have CC installed on two different computers and you forget to sign out how do you use CC on the second computer?
Please see this link for more information on the installation of creative cloud on multiple computers:
-
How can I synchronize the notes of macbook or imac with iphone 4?
Somehow more notes are not synchronized.
How can I synchronize the notes of macbook or imac with iphone 4?
I found the help of apple, to login to icloud for my iphone. As soon as I visit icloud. com that I am advised to implement the icloud on the phone, but it is.
If your MacBook and iMac running El Capitan (OS X 10.11) and that you upgraded to the new features of notes, sync will alone with an iPhone running iOS 9 or later (which is not possible to do it on an iPhone 4). See the quote below: upgrade your notes with iOS 9 and OS X El Capitan - Apple Support
When you open Notes in iOS 9 and OS X El Capitan for the first time and select Upgrade now, both your notes on your device and your notes on iCloud.com will modernize. And if you connect to iCloud with the same Apple ID on your other iOS devices 9 and OS X El Capitan, all changes made to a note on a single device instantly appear on other devices.
-
I was unable to download the free trial version Acrobat Pro DC. Tried on two different computers - Mac. Message says cannot download. What do you do to get the program to download?
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If he continues to not try to use a different browser.
-
How can I synchronize the files adobe from my phone on my computer?
Hey guys,.
How can I synchronize the files adobe from my Samsung Galaxy phone on my computer?
Hi ellen8210,
You can simply download your files on cloud of Acrobat, so that whenever you can view/download your files on your computer.
Please see this link: https://cloud.acrobat.com/folder/3073b35e-9266-46b0-a2cb-18105ac3b878
Kind regards
Florence
Maybe you are looking for
-
Portege Z30-A-12N - touchpad info/Tech doc. required
Hello everyone, I would like to get technical information as much as possible on (my) laptop Portege Z30-A-12N computer touchpad.I am a Linux developer and I would like to add the support of the ALPS touchpad at the core, however, it seemsquite diffi
-
What RAM modules are compatible with the Satellite A100-590?
Hello I plan to upgrade the memory of my A100-590. At present, there are 2 x 512 Mo of RAM DDR2-533 Samsung inside. The motherboard supports PC2-4200 and PC2-5300. If I want to put 2 x 1024 MB DDR2-667. Now, my question is, RAM from other manufacture
-
Empty file in Windows Media Player
Hello so, I'm having a problem with this file will not disappear in my Windows Media Player 11. It is empty, I can't do anything with it. I can't delete, play, rate it, edit the information - nothing. There are no negative effects because it is there
-
Hello I have a M4 Aqua. I have the endurance and my Experia (phone tracking) mode together. Because stamina mode disables network connections when the screen is off, My Experia mode will not work and the phone cannot be located if lost. Under the Sta
-
Help the customer to secure mobility; Untrusted Cert questions
Hello I have an ASA5505 running on version 9.0 (2) and I'm trying to configure AnyConnect VPN access. When I use Secure Mobility Client and try to connect to the VPN, I get an alert saying: Security Warning: no reliable VPN server certificate! AnyCo