Difference between USB6008 &USB6215 counter input?
Hello,
I have to count pulses of a gas meter (5029 pulses = 1 m3 gas).
I did this with a USB-6008 and it works OK. Now I want to switch over to USB-6215 and counting goes wrong.
The USB-6215 counts one cycle random a lot of pulses (e.g. 250) and next cycle 1 as it should be if I select rising edge. This alternating process goes on and on. If I select falling edge then every cycle it counts a lot of pulses more.
I have the inputs connected parallel so both modules have exact the same pulses. Pulses are 4,7V with low frequency 1 Hz till max 100 Hz.
USB6008 input in connection = pin 29 (pulse) & pin 32 (gnd)
USB6215 input in connection = pin 1 (pulse) & pin 5 (gnd)
In the MAX same result as with attached LabVIEW program with rising edgge selected.
Who can help me?
Rgds Geert
Attachments:
gasmeter.vi 19 KB
Hello Martijn,
Thanks, yes this works! With digital filtering set on 2,56ms I get with USB6215 same counting as with USB6008.
If I put digital filtering on 6,425 us then sometimes I count too much, at 125 ns this happens regularly but much less then without digital filtering. These are the only allowable settings, on other setting the counter does not work.
Has the USB6008 a standard filter then? With a scope on the pulse input signal I cannot find glitches, so it is for me still a question why a cheap USB6008 performs in this case much more user friendly.
Regards,
Geert Wever
Application Engineer
Honeywell Emmen NL
Similar Messages
-
DIFFERENCE BETWEEN SUM AND COUNT IN SQL
DIFFERENCE BETWEEN SUM AND COUNT IN SQL
WHAT IS THE DIFFERENCE VERIFY IN DETAIL/21031980, I suggest you upgrade your computer sothat you can access google.
lol.
wtfpwnd.Google is also helpful for understanding the strange
acronyms that show up around here lately (yes, I did
find and understand this one). :-)Haha, sorry!
It's the inner-gamer in me rearing its ugly head...
:-) -
How best to avoid ringing between preamp and counter input on AT-MIO-16?
I am trying to count pulses from a pre-amp using counter chips on the AT-MIO-16 but I am getting lots of ringing (150 MHz when I should get 1-10 Hz) even with a 50 Ohm terminator cap. Any suggestions?
Match the impeadence of
the pre-amp out,
cable,
AT-MIO-16 input.
Prefect matching gives zero ringing.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Difference between count('), count(1) and count(col name)
Hi All,
I want to know the difference between below
select count(*) from table;
vs
select count(!) from table;
vs
select count(col name) from table;
thanks,
NikkyHi, Nikky,
Nikky wrote:
Hi All,
I want to know the difference between below
select count(*) from table;
vs
select count(!) from table;
COUNT (*) retruns the number of rows, regardless of what (if anything) is in them.
If you use any literal, such as the number 1 or the string '!' instead of *, it does the same thing. Remember, string literals are enclosed in singl;e-quotes, so
COUNT ('!') -- Inside quotesreturns the total number of rows, but
COUNT (!) -- No quotesis an error.
select count(col name) from table;If col is a column in the table, then
COUNT (col)returns the number of rows where col is not NULL.
If you want to count two different columns, such as col and name, you either have to do two separate COUNTs:
SELECT COUNT (col) AS col_cnt
, COUNT (name) AS name_cnt
FROM table_x
;or combine them into one expression:
SELECT COUNT ( NVL ( col
, name
) AS col_or_name_cnt
FROM table_x
;depending on what you neeed to do. -
Function Module to find the Difference between two times.
Hi All,
Wud you plz let me know the Function Module to find the Difference between two times.
Input Time1( Hours:Minutes) Time2 ( Hours:Minutes)
Need Output in Hours:Minutes only . ( No seconds Needed )
Ex :
Input :
06:00 to 18:00 Output : 12:00
and 20:00 to 06:00 Output: 10:00 with +ve sign only. No -ve sign.
Thanks,
N.L.Narayanacheck this .
data : p_timel like sy-uzeit,
p_timeh like sy-uzeit,
diff like sy-uzeit,
di(8) type c .
p_timel = '200000'.
p_timeh = '060000'.
diff = p_timeh - p_timel.
concatenate diff+0(2) ':' diff+2(2) into di.
write:/ di.
also check for this.
p_timel = '060000'.
p_timeh = '180000'.
see if this can be implemented in ur code .
or else u can try with Fm L_TO_TIME_DIFF passing startdate enddate starttime endtime with UOM as MIN
hope this helps regards,
vijay -
Byte count difference between Unix and Windows
Hi,
I use sun.net.ftp.FtpClient to transfer files from a windows machine to a unix server.
The transfer works fine.
However, due to a problem I had a few days ago with the file not completing it's transfer but no side (not my FtpClient object nor the UNIX Ftp server) has thrown an exception or reported an error, I need to verify the transfer is complete.
from the byte count I see that on my machine, the file size is 120743 bytes, and on the server side it's 121047 bytes.
The file has 14172 records, when the last one is an empty line.
There is a 304 bytes difference between the 2 reports.
I downloaded the file I transferred there manually and compared the 2 and they match.
How can I know from my program if the transfer is complete?
Thanks,
Omer.The file size isn't 304 byte, that's the difference between the 2 files.
I use FtpClient.binary() to set the mode to binary prior to sending the file.
The file has 14172 records which should add up to a total difference of 14172 bytes (maybe 1 or 2 more if there is a difference in the EOF), but not 304.
here's the code:
putClient=new FtpClient(host, port); //initialize the client object
putClient.login(user, password);
putClient.binary(); //set transfer mode to binary
putClient.cd(remotePath); //change directory to the target one
FileInputStream fileIn=new FileInputStream(sourcePath + File.separator + sourceFileName);
long fileSize=fileIn.getChannel().size(); //get the size of the file
TelnetOutputStream telnetOut=putClient.put(remoteFileName);//acquire an input stream from the server
byte[] byteBuff=new byte[8192]; //8 kb buffer
int readSuccesfull=0;
while((readSuccesfull=fileIn.read(byteBuff))!=-1){ // now transfer the file
telnetOut.write(byteBuff, 0, readSuccesfull);
totalByetsSent+=readSuccesfull;
fileIn.close();//release the file stream resource
TelnetInputStream inStream = putClient.list(); // acquire a stream for verifying the file was received
/* now I read the lines of the list() command and parse the lines for the size and date and I get that the file that I sent has a size of 121047, and the line that represents it is this:
-rwxrwxrwx 1 owner group 121047 Jan 10 17:49 ivory.txt
However, the size from my machine's report is 120743 which I get from the fileSize variable*/According to what has been said here, and to my intuition, the size on UNIX should be smaller than the size on Windows, but yet, it's not the case.
This would add up fine if the file that I downloaded from the server wouldn't match the file that I sent, but they do.
I'm pretty much a noob at developing and even more a noob at Java, so there is a very good chance that I do something wrong here, could be with the use of the FileChannel.size() method usage.
Thanks. -
What is the difference between count(*) and count(1)
what is the difference between count(*) and count(1)
Hi,
903830 wrote:
some say count(1) is faster and some say count(*), i am confused about count function?In the link provided by Prakash :
prakash wrote:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1156159920245
You can read :
Followup August 31, 2001 :
I'll have to guess, since you don't say, that you are using 7.x and before when count(*) and count(1) were different (and count(1) was slower). In all releases of the databases for the last 4-5 years, they are the same.
Don't waste your time on that.
;-) -
Count difference between 2 reports
Report1 : List all the computer which are member of All desktop and server clients collection
Report 2 : List hardware information of all the entries from V_GS_PC_BIOS view
Why is there a count difference between these 2 reports.?
I've also noticed that the hardware inventory information is not available on those missing computers. How long the sccm database will keep the old hardware inventory details for a specific computer even if its offline?
Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. DelphinThe missing computers were not approved in the ConfigMgr console. I approved them all and now the count difference is very minimum..
Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin -
Differences between Robot class generated events and real input events
Hello everyone!
I'm having a problem with the translation of the description of the awt.Robot class.
- "This class is used to generate native system input events" -
Does this mean there is no difference between real input events and generated events from the Robot class? Difference in reference to that the generated events can't be recognized as generated events by the os or programs.
Thanks in advance.
Chris B.The Robot class will use an interface provided by the operating system to inject events. Those are very close to 'real' input events, but not quite there. There are, for instance, several games out there which have a protection mechanism against Robot's events to prevent scripting/botting. However, any application that is not paying special attention to the event's source will assume that the input events generated by Robot are actually coming from the user, so you can 'control' any application with the exception of the beforementioned games.
-
Can anyone Explain me the difference between Batch Input, Direct input met
Can anyone Explain me the difference between Batch Input Method and Direct Input Method.
hi
good
Direct input method Batch Input Method
1) We cannot send the fields | 1) We can send fields as per
according to our requirement| requirement.
2) validations are done based
2) validations are done based
on pre-defined function
on applications.
modules
Batch Input Session:
- It is a sequence of transactions, which is generated when user run a particular program.
- It contains the accounting documents that are to be created. The SAP system stores these transactions until you decide to process them online.
- It does not update transaction figures until the session has been processed. Using this technique, you can transfer large amounts of data to the SAP system in a short time.
Three processing modes of executing Batch Input Session :-
(1) Run Visibly : You can correct faulty transactions online & work step-by-step through the transactions not yet executed.
(2) Display Errors only : You can correct faulty transactions online. Transactions not yet executed, but without error, run in the background.
(3) Run in Background : Recommended by SAP.
thanks
mrutyun^ -
Differences between on chain-input & on chain-request
Hi All,
Cany any one explain the difference between on chain-input & on chain-request ( or on input & on request).
Cheers...
@Syam
Moderator Message: Read the F1 documentation. Thread locked.
Edited by: Suhas Saha on Nov 16, 2011 1:24 PMHi Kal,
Let me try and put it into perspective.
On Input (When value changes from initial value):
Here e.g. you have a screen field which has a character field. Initial value of a character field is space. When you enter the screen for the first time, suppose the field is blank (initial value), then user enters some value ('XYZ') in the field, in such an event, the MODULE ON CHAIN-INPUT would get triggered, since the value has changed from initial value to 'XYZ'.
However, now say the user changes the value from 'XYZ' to 'AAA'. In this case, the MODULE ON CHAIN-INPUT will NOT get triggered because the original value was not initial i.e. space.
However, as most applications demand, you would want to trigger the MODULE when there is any changes in the field value. In such instances, you do a MODULE ON CHAIN-REQUEST which is triggered when there is any change in value of screen field.
Hence, ON REQUEST is a superset of ON INPUT, so to say that ON REQUEST is also triggered when value is changed from initial (as in ON INPUT) however ON INPUT is not triggrered when value is changed from non-initial, whereas ON REQUEST modules are triggered.
I hope this makes it clearer.
Regards,
Aditya -
Hi,
I need to create a counter kf which should populate 1 and 0 to this counter field. Please let me know is there any difference between data type
NUMBER (DEC) and INTEGER (INT4).
Please suggest.
Thanks & Regards,
Pavan kumarHi Pavan,
The basic difference between Number(DEC) and INT4 is its internal storage in system.
For Number (DEC) - Value internally stored as packed number with 3 decimal places whereas INT 4 as 4 byte integer without decimal places.
For counter KF, you can go for INT 4.
Hope this helps.
Thanks -
Difference between module on request and module on input
hi,
what is the Difference between module on request and module on input
can any one explain with some examples
Thanks in advance
GaneshHI
module on request is triggered when you press F4
module on input is triggered when you enter any value to certain field or change it.
refer this for more details
http://www.jt77.com/development1/programming-19561.html
reward if helpful
thanks
vivekanand
Message was edited by:
vivekanand meghmala -
Difference between input schedule and Journal?
Hi all, we need a brief explanation of Journals vs regular Input Schedules.
Can an expert explain to me the differences between a Journal Entry and just a regular Input schedule?
1.For journal entries are you only supposed to enter the change or the total for that account?
2. Where are journal entries stored?
3. Can journal entries be viewed latter and/or reversed?
4. Do Journal entries get put into the audit tables?
ThanksHi Dermot,
I think you're right that this is a significant difference between the two. I believe journals operate just as you expect - they are an "additional" amount.
So if you already have $100 in an account and you put in a journal for $20, then the system will do the logic to make that account value $120 behind the scenes. If you input $20 into an input schedule the system will make that account value $20, not $120.
Ethan -
What's the difference between an audio INPUT and AUX object?
Can someone explain the difference between an audio INPUT and AUX object? They both seems to do pretty much the same thing ... when would you use 1 over the other?
revDave:
Suppose you're recording a guitar track and you want to add a very gentle compressor to avoid overload during the rec process. you need an audio input channel with a compressor inserted. this way, your guitar will be recorded with the compressor processed. If you use audio and midi gear and want to bounce your material, put all your midi audio in an audio input channel.This way, you don't have to use a real audio channel to record them. You can hear them, even use some plugins, and have them bounced with your audio channels.
Now, suppose you recorded three vocal channels, and want to use an equalizer. You need an aux object to send your vocal channels and use only one eq. This is very useful when you have similar materials recorded in diferent channels (2 guitars, vocals, pete/sax/bone, and so on). Send their outs to an aux object, insert the fx you want, and set the aux object's out to the main out of your project, and it's done.
I hope it helps you.
Tovinho
Maybe you are looking for
-
I forgot my iphone passcode, it's disabled now, and I can't restore??
Hey guys, I've had an iphone for about 3 weeks. All of a sudden today I couldn't remember the lock code. Stupid I know! Anyhow I panicked and entered what I thought was the password way too many times. In short, it's now disabled now. I read on how t
-
Query on flashback_transaction_query table taking ridiculously long time
Oracle 10.2.0.3.0 on Solaris : I am trying to use Flashback Transaction Query table to track transactions and generate the undo_sql within a time period for an entire schema using the following sql : SELECT XID,START_SCN,COMMIT_SCN,OPERATION,TABLE_NA
-
Activity can not post when do confirmation
Dear Gurus! I have an issue now, when I do confirmation for production order. But some order can post actvity(in CO03 -> Cost analisys -> Activity actual) but some can not. Do I miss any steps? I use BAPI to create comfirmation. Regards, Tony
-
Finding the Brightest Pixel in an Image
How do i select the brightest pixel in an image?
-
Hi all, How can i save my files in flex3? i have an application which creates an E-card. It has texts, images, etc...so if i create an ecard ...how can i save that to my local machine?...please reply asap:) Thanks in advance:) Aditi