Get the double trigger using CreatePulseChannelTime on a single machine
I use DAQmx in c# to monitor a TTL (wide 3ms) signal, wait a while and then send a pulse on the line of meter output (wide 1ms). I put it to be redeclenchables so that for each input pulse, I get an output pulse after the waiting period. It works like a charm on a single machine.
On the other hand, I get two pulse output. If I change the value of my delay, the two impulses are delayed by levels, and their interval is exactly the width of the input pulse. Looks on the scope of the trigger occurs on both fronts and, even if I asked only the Levant.
As a hack, I extends the duration of the pulse to 3ms output, so that he survived the trigger pulse. This solved the problem, but is not sustainable in the long term because it limits the rate, I can do this operation.
Everyone knows this behavior, or have clues? My understanding is that the task will not retrigger until he sees another front, and that the falling edge will not retrigger it.
Oh - we exchanged the PCI-6052E card by a new one, but the problem remains. This problem will NOT occur on a machine we built 6 months ago.
Here is the code:
_triggerTask.COChannels.CreatePulseChannelTime (_cameraCounterLine, string. Void, COPulseTimeUnits.Seconds, COPulseIdleState.Low, 0, _delaySecs, triggerLengthSec);
_triggerTask.triggers.StartTrigger.ConfigureDigitalEdgeTrigger (triggerLine,
DigitalEdgeStartTriggerEdge.Rising);
_triggerTask.triggers.StartTrigger.Retriggerable = true;
generate 1 pulse
_triggerTask.timing.ConfigureImplicit (SampleQuantityMode.FiniteSamples, 1); _triggerTask.Control (TaskAction.Verify);
_triggerTask.start ();
Thank you-
John Duddy
We just thought to it - the Heisenberg uncertainty principle applied to the classical mechanics. The problem disappeared when we disconnected the oscilloscope. Without the connected frame, we had to deduce the problem disappeared (not), but I am convinced. It was the same scope, we used the last time, too.
It's a good lesson - when occur contradictions, check your premises.
Tags: NI Hardware
Similar Questions
-
I have a DW1520 Wireless-N WLAN Half-Mini card in an Alienware M17X10. I am trying to connect my home through a TRENDNet TEW-435BRM access DSL issue in WPA - PSK.
I was able to get the card to use the accounts wireless WPA2-PSK and WPA - PSK in other areas is not a problem directly related to WPA - PSK.
I can get it to connect to the network when the diffuse TRENDnet without security (free release) and when directly plugged into the wireless router, cable - but every time I go to dissemination of WPA - PSK it can't connect?
While in WPA - PSK the WLAN card can 'see' the network and wireless router can see the 'computer' (and is a 'trust machine'). I have one couple of other previous model Dells connected to the network without problem or needed changes if any ideas why I would have questions here?
The driver installed is the 'last' to 5.60.48.35.
I tried to restart the router and the computer without success. I use Windows Firewall.
No bright sparks that can point me in the right direction?
Thank you
Declan
Hello
Try resetting the password in the part of the router wireless, then copy and paste it to the wireless card.
Jack-MVP Windows Networking. WWW.EZLAN.NET
-
get the storage you use vCloud API
I'm trying to figure out how to get the storage you use in an organization using vCO.
There is information about the storage profiles used to an Org - vDC, but this information contains only the limit.
My code looks like this:
for each (var vdc in {org.getVdcs ()})
for each (var profile in {vdc.toAdminObject () .getStorageProfiles ())}
System.log (Profile.ToXml ();
}
}
In the XML dump I only see the limit configured for this Org - vDC but not the consumption of this limit.
The information are present in the Web GUI vCloud, how do I get this information from a code?
Thank you
Cristian
LOL, favorite of this place, it will be VERY valuable to you... now, regarding your question, this help?
This task scriptable takes an object provider VDC as input:
System.log("============ Provider VDC: "+providerVdc.name+" ============"); System.log("NOTE: If allocatedMB = 0, then the org vdc has been configured for 'unlimited'"); var vdcs = providerVdc.getAdminVdcs(); var host = providerVdc.getHost(); for each (vdc in vdcs){ System.log("====== Processing Org VDC: "+vdc.name + " ======"); var queryService = host.getQueryService(); var profs = vdc.getStorageProfiles(); for each (var prof in profs) { var expression = new VclExpression(VclQueryAdminOrgVdcStorageProfileField.HREF, prof.getReference().href , VclExpressionType.EQUALS); var filter = new VclFilter(expression); var params = new VclQueryParams(); params.setFilter(filter); var resultSet = queryService.queryRecords(VclQueryRecordType.ADMINORGVDCSTORAGEPROFILE,params); while (resultSet != null) { var records = resultSet.getRecords(new VclQueryResultAdminOrgVdcStorageProfileRecord); //System.log(records.length + " records found"); for each (var record in records) { System.log("Storage Profile Name (usedMB/allocatedMB): " + record.name + " ("+record.storageUsedMB+"/"+record.storageLimitMB+")"); } resultSet = resultSet.getNextPage(); } } System.log(""); } // --------------------------- End code Snippet Sample output: [2013-03-21 12:27:03.553] [I] ============ Provider VDC: pVDC1 ============ [2013-03-21 12:27:03.554] [I] NOTE: If allocatedMB = 0, then the org vdc has been configured for 'unlimited' [2013-03-21 12:27:03.763] [I] ====== Processing Org VDC: demo ====== [2013-03-21 12:27:03.859] [I] Storage Profile Name (usedMB/allocatedMB): Shared (0/409497) [2013-03-21 12:27:03.861] [I] [2013-03-21 12:27:03.863] [I] ====== Processing Org VDC: tiny ====== [2013-03-21 12:27:03.959] [I] Storage Profile Name (usedMB/allocatedMB): Local (1792/6144) [2013-03-21 12:27:03.963] [I] [2013-03-21 12:27:03.965] [I] ====== Processing Org VDC: CimVDC ====== [2013-03-21 12:27:04.016] [I] Storage Profile Name (usedMB/allocatedMB): Shared (231680/0) [2013-03-21 12:27:04.020] [I] March 21 at 12:29 pm
-
Get the storage you use of a via powercli virutal machine
Is there a oneliner where I can get the storage you USE a virtual machine?
example:
windc configured server used 100 GB 55GO
I'd like to type something like: get - vm winDC | Get-usedstorage
and I want to go 55GO
I wasn't able to find a good word
Something like that?
Get - VM | Select Name, UsedSpaceGB
-
I installed Acrobat Pro XI (academic edition). But I get the message "cannot use this product under a guest account. What should I do?
Run as admin / talk to your IT Department.
Mylenium
-
After all the steps have been made and I clicked 'launch' I get the following message "Setup has detected that a machine restate may be waiting." Exit Setup, restart your computer and try to reinstall. What is a 'install '? and how to leave it. ? I try to install 14 items. Anita
If present, click the ignore button and check.
No button ignore? If possible, please post a screenshot of the error.
-
Get the error when using the UTL_SMTP function in Oracle 11 g
Hello
I get the error when executing a trigger e-mail code in oracle 11 g:
I have following trigger on the temporary table:
CREATE OR REPLACE TRIGGER temp_temp_message AFTER
INSERT OR UPDATE ON temp_message FOR EACH LINE
declare
Conn UTL_SMTP . CONNECTION ;
msg VARCHAR2 (2000);
Start
Conn := UTL_SMTP . open_connection ( host => '10.250.1.149', port=>25 );
UTL_SMTP . HELO ( conn, '10.250.1.149');
UTL_SMTP . mail ( conn, '[email protected]');
UTL_SMTP . RCPT () conn ' [email protected]');
msg := "Hello, this is test mail." ;
UTL_SMTP .data( conn, msg);
UTL_SMTP . quit smoking ( conn );
exception when others then
dbms_output.put_line (sqlerrm);
raise_application_error (-20000,
"Failed to send because of the following error messages: ' " || sqlerrm);
end;
Insert in temp_message values ()1
);
When I insert the record in the table there are given the following error.
ORA-20000: failed to send messages because of the following error: ORA-24247: access denied by access control (ACL) of network list
ORA-06512: at the 'APPS '. TEMP_TEMP_MESSAGE', line 14
ORA-04088: error during execution of trigger ' APPS. TEMP_TEMP_MESSAGE'
But if I run the next plsql through sqlplus send mail successfully:
declare
Conn UTL_SMTP . CONNECTION ;
MSG VARCHAR2 (2000);
Start
Conn := UTL_SMTP . open_connection ( host => '10.250.1.149', port=>25 );
UTL_SMTP . HELO ( conn, '10.250.1.149');
UTL_SMTP . mail ( conn, '[email protected]');
UTL_SMTP . RCPT () conn ' [email protected]');
msg := "Hello, this is test mail." ;
UTL_SMTP .data( conn, msg);
UTL_SMTP . quit smoking ( conn );
exception when others then
dbms_output.put_line (sqlerrm);
raise_application_error (-20000,
"Failed to send because of the following error messages: ' " || sqlerrm);
end;
Thanks in advance.
Yoann
To resolve ORA-24247 you must:
(1) create an acl (if it is not already created)
(2) add the user privileges using the resources of the network
(3) to use the ACL to a specific address
This might be useful
How to fix an ORA-24247: access denied by access control (ACL) of network list | DB tips
-
Find ' [' and get the substring entered using regexp_substr()]
Hello
Select regexp_substr ("what a great day for (I YOU [ME] and HIM ',' [: ALNUM:] * [^ \ ()] *') double;")
As a result:
SQL > what a great day for
[but why this model does not work for ']' when I replace ' ([' with ']'?)
Select regexp_substr ("what a great day for (I YOU [ME] and HIM ',' [: ALNUM:] * [^ \]] *') double;")
As a result:
SQL > W
' {[I need to get a substring before or ' (',' [',' {', '}])', ']', or '}' in a string to give, this model works for '(',') ', ' {', '}' but not ' [' or ']'
What should be the boss? If ' [: ALNUM:] * [^ \ ()] *' is not correct?
Can anyone help?
Thank you
FionaHi, Fiona,
Have you seen this part of my last post?
Frank Kulash wrote:
... If you want to use a literal hook closing ('] ') then it must be the first thing in the list attached hook (not counting the ^, if you use it, you are)In a regular expression, if you want to say: "the set of all characters * except * ' {' and '}'", so it does not matter if you say
[^{}]
or
[^}{]
Most of the people (you and me included) seem to like the first better way, but the results are the same. It deosn to matter if the ' {' is listed before the '}', or if they are in reverse order. The Analyzer don't think you want to say something else anyway.
However, the parser will treat this expression
[^[]]
different than
[^][]
The first:
[^[]]
is interpreted as
'[' || -- Any character from this set: '^' || -- all characters except '[' || -- left-bracket ']' || -- (end of set description) ']' -- followed immediately by a right-bracket
You want to support the right to part of the whole. The only way that the parser will know that the right-braket marks not the end of the game is to put the right first overall support, in other words, it must be the first character inside the pair of brackets that delimited the game, immediately after the ' ^' character, like this:
'[' || -- Any character from this set: '^' || -- all characters except ']' || -- right-bracket or '[' || -- left-bracket ']' -- (end of set description)
or, as you're more likely to write it:
select 'What a good day for (YOU [ME] and {HIM}) and others' AS orig_txt , REGEXP_REPLACE ( 'What a good day for (YOU [ME] and {HIM}) and others' , '\[[^][]*\]' ) AS new_txt from dual ;
Output:
ORIG_TXT --------------------------------------------------- NEW_TXT ----------------------------------------------- What a good day for (YOU [ME] and {HIM}) and others What a good day for (YOU and {HIM}) and others
-
Equium A60: I get the error message using explorer.exe
Whenever I try to open an image file using paint or Fax/Image viewer, or I try to drag a file to a folder, I get the following error message:
"Windows Explorer has encountered a problem and needs to close. We are sorry for the inconvenience ".
The error report says:
"AppName: explorer.exe AppVer: 6.0.2900.2180 ModName: rpcrt4.dll.
"ModVer: 5.1.2600.2180 Offset: 000847a 6.Also I can't open Web pages that open in a new window, IE. Norton Internet Security 2005 also does not open, but has claimed to be active in the background.
Does anyone have advice for me?
I tried all the help for explorer.exe on helpwithwindows.com problems but nothing suggested worked - as spyware, malaware removal. I ran a few controls on-line virus - given that Norton does not work I have tried the scans online.
The laptop was bought last year, and we have lost the recovery CD - so if we need them, then where we can get replacements?
Thank you very much
Jonathan
HI Jonathan,.
It seems to me that if your OS has been corrupted, and I would recommend that you re-install. You can get the replacement of any Toshiba authorized Service partner recovery CD. You can get a list of the asp from the Toshiba web site.
Kind regards
-
How can I get the CLK OUT using PLL on NI PXI-6652?
I'm trying to get out the CLK using internal CLK either or PXI_CLK10_IN and PLL DDS source to the required frequency. In other words, I want the CLK coming OUT the NI PXI-6652 be PLL frequency required.
Ashok
Hello
Unfortunately, it has no direct route in material to get the DDS at PXI_CLK10_IN clock. In general, PLL is used for external signals that are out of phase with the system and not for signals generated internally. From the 665 X operating instructions online, here is an overview of the functions of the Board of Directors:
-
How can I get the keyboard to use only English punctuation
Laptop HP 2000-300 CA... How can I prevent the keyboard from using the punctuation french when I try to use the English apostrophe, or question marks is what I get when I try to type an exclamation mark E
I have a Canadian keyboard that gives me some English and french of the characters. I went to the U.S. English keyboard, rebooted and it seems to work. I saw the site you provided however, and if my current solution does not last long... you can be sure to find me on your Web site. Thank you for taking the time to answer.
-
cannot get the keyboard works when reebooting said cd I need driver sata when reebooting he gives four seconds to schrol up to windows xp but the line is highlighted on a windows xp profesional bellows and can't seem to choose windows xp on its own keyboard wont respond but lights from F1 or f2 f3 until f12 choose please help
A few old machines will not recognize a USB keyboard/mouse until after Windows starts. Look at the back of your computer and see if you have a PS/2 (round) connector for a keyboard and a mouse. If you do, then you will need to use a keyboard with a round PS/2 connector or a USB-to-PS/2 adapter and plug the PS/2 connector on the back of your computer so that it recognizes the keyboard until Windows starts on your keyboard.
The SATA driver applies to your hard drive. A CD of start-up/installation of Windows XP does not recognize a SATA hard drive. If you install Windows, you will need to hit F6 at the right time and insert a floppy with the SATA driver on this subject.
HTH,
JW -
Remember: if I delete records, do I get the memory they used?
I have large files which I copied on my externalhard drive. If I have SupprimerLa files, I get the memory back, they used.
If you delete the original folders you copied, find you the hard disk space, called secondary memory.
See you soon.
Mick Murphy - Microsoft partner
-
How to get the Blackberry ID using javascript for Webworks App?
Hi all
I have developed a web application using Blackberry webworks SDK and emulator Ripple... Here, I need to get the Blackberry device ID using javascript... Please me... Thanks in advance...
With respect,
Marimuthu_P
HM... There is a sample to get the PIN with javascript.
https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.identity.html#.UUID
-
Unable to get the parameter by using a controller in the OPS
Hello!
I am new to using the OPS and will very much appreciate your help!
FYI:
Basically, I need to add 2 descriptive flexfields in a page (by creating a VO) and I need to update the table with the data stored on these de facto forces (I did all the logic already).
I created a (CO) controller that calls a method that is declared in an application module (AM) that runs a stored procedure (CO and the AM were created by me and that they extend a standard CO and I am).
Problem:
However, updated just before... I'm having a problem because I can't get a parameter using paramContext.getParameter("reqHeaderId"). who will help me to identify which line I need to update.
Because the statement is not capture the value, it returns a null value, and I got the following error when I try to convert it to a number in: oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: null
It is really important to mention that, before we get to the page where I clicked the Send button that makes the logic mentioned... There are 2 pages before that where I'm trying to capture the setting and the required parameter is defined on the 1st page. I have been checking each standard CO 3 pages and they use the statement pageContext.putParameter ("reqHeaderId"); to switch between the 3 pages (as far as I know, if not please correct me). On the 3rd and last standard CO that it uses pageContext.getParameter ("reqHeaderId"); to get the value and make another logic.
So why Im not getting the value if I do the same thing (pageContext.getParameter ("reqHeaderId") ;) on my xxController (which extends the standard co)?
Here is the code of the controller:
public class xxController extends standardController {}
' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processRequest (pageContext, webBean);
}
' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);
String str;
Str = pageContext.getParameter("_FORM_SUBMIT_BUTTON");
If ((str! = null) & & (str.equals ("SubmitButton")))
{
String ReqHeaderId = pageContext.getParameter ("reqHeaderId");
String ReqLineId = pageContext.getParameter ("reqLindId");
[Serializable] Parameters = CLIENT1
{
ReqHeaderId
ReqLineId
pageContext.getParameter ("xxavtBienServicio") //dff
pageContext.getParameter ("xxavtAttribute3") //dff
};
String var = (String) am.invokeMethod ("updateAttributes", parameters CLIENT1); updateAttributes is the method that converts it to ReqHeaderId number and runs my stored procedure
}
}
}
Thank you in advance for your help!
Hello
I found the reason why I have problems to get the needed values.
The reason was that the given property has been set to false in order to use pageContext.getParameter must be set to true. So, I went ahead and created as a "value of the form" this way I could put the melted property and keep the hide at the same time field.
Thanks for your help!
Maybe you are looking for
-
Apple Watch to a bluetooth speaker matching
How to pair you an Apple Watch to a Bluetooth speaker?
-
Output digital USB 6008 when connected does not
Hi, I have an external circuit and I want to control it using materials DAQ 6008 / using LabView, I tested the digital port work (giving me 5V) but once I connect it to my circuit (PIC16f887) pin his Gimme 0V, I do not know why
-
The drivers are all ok. Must have dislodged something but it is not clear. Any suggestions? It's a HP ISTART 2479 running Vista. Thank you
-
How to reboot a computer from standby?
PC using Windows Vista Business past in mode 'sleep' left unattended for some time and it is very difficult to restart. Control Alt Delete restarts only occasionally. Sometimes resort to switching will restart sometimes but not always. Any ideas?
-
Hello I work for an internet service provider in the past 10 years as technical director. This company non-routers use for server ARM year it make our unstable technique. I decided to encourage my company to change this devices to cisco routers and I