Reading voltage converting from current in daq
Hi all,
i have a pressure sensor that gives ma as output.my daq is reading voltage.i connect resistance as parallel to analog input.But i still cannot read voltage.when i check with ammeter the current value is correct but it cannot convert this current the voltage.
Solved!
Go to Solution.
Attachments:
original.jpg 7 KB
What DAQ are you using? Are you applying a scale?
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Similar Messages
-
I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor. Could you suggest me appropriate driver IC using which this problem can be solved.
Saravanan.TYou really should use a DC motor controller to control a DC motor, look at the 754410 IC for a good example. You should be able to interface these to most DAQ devices.
Alan -
Pacman: Pathname can't be converted from UTF-8 to current locale
Hello Forum,
I am stuck with a problem to which I cannot find any solution after spending half the day trying to solve it:
I have a package wich I installed from AUR -> MyCustomRepository working nicely on my main Arch system. Now I would like to add the package to a livecd using the archiso scripts. When I add it to my packages.both list it downloads fine.
However when installation into chroot should start pacman gives me the following error:
(378/378) loading package files [######################] 100%
error: error while reading package /var/cache/pacman/pkg/pd-extended-0.43.4-1-x86_64.pkg.tar.xz: Pathname can't be converted from UTF-8 to current locale.
error: failed to commit transaction (libarchive error)
Errors occurred, no packages were upgraded.
My System only uses en_US.UTF-8 as locale, so I don't really understand why any conversion should be neccesary.
I read about a similar error somewhere with a reply stating it had to do with packaging. No solution was given however. Can this be the case? And if yes, why do I not have any problems installling in my main system? And more importantly, how can I fix it? i don't really know where to look for the right way now.
I already tried to include a different packages from AUR through my repository, which worked as expected.
the package is pd-extended from AUR with a slight modification to make the .desktop file actually start pdextended.
Any help is greatly appreciated.
Thank you,
Dominik
# Maintainer: <fero dot kiraly at gmail.com>
# Contributor: Dominik Schmidt-Philipp <[email protected]>
pkgname=pd-extended
pkgver=0.43.4
pkgrel=1
pkgdesc="PureData Extended 0.43-4 version"
url="http://puredata.info/"
arch=('i686' 'x86_64' )
license=('BSD')
depends=('libdc1394' 'desktop-file-utils' 'libiec61883' 'fftw' \
'jack' 'tk' 'freeglut' 'libquicktime' 'libdv' 'gsl' 'imagemagick' \
'ftgl' 'libgl' 'hicolor-icon-theme' 'lua51')
makedepends=('dssi' 'git' 'libv4l' 'tcllib' 'subversion' 'swig' 'automake' 'curl')
conflicts=('pdp' 'zexy' 'puredata')
provides=( 'pd-extended' 'pd-gem' 'pdp' 'zexy')
optdepends=('puredata-utils' 'pd-vanilla')
replaces=(pd-extended)
backup=()
options=('!makeflags' '!libtool')
install=pd-extended.install
source=('change_gem_configure_file.patch' 's_inter.c.patch' 'tclpd.Makefile.patch' 'makefile.am.patch')
md5sums=('63a36c51706eaed98611aa4b4bb6ed0d' '8b748d09e8bdf04540ba579d0a6b5318' '463de23166cef2dcf6c7f6989e636213' '5938b12a232004de15f5a383f95cedca' )
build() {
unset CFLAGS
unset LDFLAGS
unset INCLUDES
#downloading pd-extended----------------------------------------------------------
msg "Begin SVN checkout for pd-extended 0.43.4"
cd $srcdir
svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.43 $pkgname
msg "SVN checkout done or server timeout"
cd ..
#FIXES -----------------------------------------------------------------------------
# fix #1 lua
#patch $srcdir/$pkgname/externals/loaders/pdlua/src/Makefile ./repair_lua_lib_number.patch
#fix #2 -- GEM configure.ac
patch $srcdir/$pkgname/externals/Gem/configure.ac ./change_gem_configure_file.patch
#fix #3 -- repair wish8.6 (for tcl8.6)
patch $srcdir/$pkgname/pd/src/s_inter.c ./s_inter.c.patch
#fix #4 -- repair version of tcl (8.6)
patch $srcdir/$pkgname/externals/loaders/tclpd/Makefile ./tclpd.Makefile.patch
#fix #5 -- repair binary name to pd-extended (from pd)
#patch $srcdir/$pkgname/packages/Makefile ./program_name.patch
patch $srcdir/$pkgname/pd/src/Makefile.am ./makefile.am.patch
# 64 bit archutecure----------------------------------------------------------------
if [ "$CARCH" = "x86_64" ]; then
# fix -fPIC issue in PDP
sed -e "s|CFLAGS =|CFLAGS = -fPIC|" \
-i $srcdir/$pkgname/externals/pdp/opengl/Makefile.config || return 1
# fix -fPIC issue in pddp
sed -e "s|DEFINES =|DEFINES = -fPIC|" \
-i $srcdir/$pkgname/externals/miXed/Makefile.common || return 1
# setting additional variable
FPIC_FLAG="-fPIC"
else FPIC_FLAG=""
fi
#MAKE --------------------------------------------------------------------------
cd "$srcdir/$pkgname/packages/linux_make" || return 1
make BUILDLAYOUT_DIR=$srcdir/$pkgname/packages \
GEM_EXTRA_CXXFLAGS="$FPIC_FLAG" \
prefix=/usr \
install || return 1
package() {
cp -urv $srcdir/$pkgname/packages/linux_make/build/usr $pkgdir/
mv $pkgdir/usr/share/man/man1/pd.1 $pkgdir/usr/share/man/man1/pdextended.1
rm $pkgdir/usr/share/man/man1/pdreceive.1
rm $pkgdir/usr/share/man/man1/pdsend.1
rm $pkgdir/usr/include/m_pd.h
rm $pkgdir/usr/bin/pd-gui.tcl
cd $srcdir/$pkgname/
# PD License
install -Dm644 pd/LICENSE.txt $pkgdir/usr/share/licenses/pd-extended/LICENSE.txt
cd packages/
install -p linux_make/default.pdextended $pkgdir/usr/lib/pd-extended/
# Gnome menu support
install -d $pkgdir/usr/share/icons/hicolor/128x128/apps
install -p -m0644 linux_make/pd-extended.png $pkgdir/usr/share/icons/hicolor/128x128/apps/
install -d $pkgdir/usr/share/icons/hicolor/48x48/apps
install -p -m0644 linux_make/48x48/pd-extended.png $pkgdir/usr/share/icons/hicolor/48x48/apps/pd-extended.png
install -d $pkgdir/usr/share/applications/
install -p linux_make/pd-extended.desktop $pkgdir/usr/share/applications/
sed -i "s/^Exec=.*/Exec=pdextended/" $pkgdir/usr/share/applications/pd-extended.desktop
# mime
install -d $pkgdir/usr/share/mime/packages/
install -p linux_make/pd-extended.xml $pkgdir/usr/share/mime/packages/
install -d $pkgdir/usr/share/icons/hicolor/128x128/mimetypes
install -p linux_make/text-x-puredata.png $pkgdir/usr/share/icons/hicolor/128x128/mimetypes
# files for /etc
cd "$srcdir/$pkgname"
install -d $pkgdir/etc/bash_completion.d/
install -p scripts/bash_completion/pd $pkgdir/etc/bash_completion.d
# emacs mode for .pd files
install -d $pkgdir/usr/share/emacs/site-lisp/
install -p scripts/pd-mode.el $pkgdir/usr/share/emacs/site-lisp/
# Pd-related scripts
install -p scripts/pd-diff $pkgdir/usr/bin/
install -p scripts/config-switcher.sh $pkgdir/usr/bin/
# vim:set ts=2 sw=2 et:I chroot into workdir. uncommented en_US.UTF-8 in /etc/locale.gen, run locale-gen and now get this inside the chroot.
[root@dArch2 releng]# chroot work/x86_64/root-image/
[root@dArch2 /]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
this looks alright to me. Any more suggestions?
It's the first time I use a custom-repo and I set it up only for this purpose. So yes, it's up to date and can be used outside the chroot. Also a different package I put from AUR into my custom-repo installs fine and doesn't give this error.
How else could I test the custom-repo? -
How can I convert my current Photoshop CS5 license from PC to mac?
I currently have a valid license to Adobe Photoshop CS5 on the Windows. I've switched over to using a Apple Macbook running OSX Mavericks. How can I convert my current Photoshop CS5 license from PC to mac?
You can't. The perpetual licenses are OS specific.
-
Can I recharge my iPhone 5 directly from a power oulet in Peru where the line voltage is 220V without using a voltage converter?
I would like to have a go at this.
I am presently in Hong Kong. Just prior to this trip, I purchased an iP5. I have taken my iP4S to many countries and charged the phone by either using the USB connection to my laptop or by using Apple's World Travel Adaptor Kit.
Only after getting to HKG did I try to hook up my iP5 to the Apple travel adaptors and of course they do not fot and I do not have an adaptor that goes from 30 pin to the lightning cable.
So is it actually safe to take the original iP5 cable and charger and simply add an international plug adaptor that I am also using with my laptop? If so does that in fact mean that the iP5 can take 220 without converting the voltage that I thought was done by the Apple Travel Adaptor Kit? -
How to read the gain list of a DAQ card from labview?
Hi,
Its known that you can set the gain of an ADC of a DAQ card by setting the high and low values.
Different cards have got different signal ranges corresponding to different gains.
My question is ... Is it possible to read the gain list of a DAQ card from labview?
It is definitely possible to read the signal ranges available for the device. It would be very helpful if some one can tell me the method to read the gains corresponding to the signal ranges.
(Even the device specification provides only the signal range but not the gain corrsponding to it )
Thanks
Message Edited by Vsh on 04-08-2008 03:50 AMHi Vsh,
It appears that you have found the gains applied for the various ranges (I assume from the user manuals). So if I understand your question correctly, you are looking to poll the card for the current gain (or the various gains available)
Because DAQmx selects this for you (unlike Traditional DAQ), there is not a way to poll directly. If you want, you could poll the min/max values and then use this to figure out the range setting (and thus the gain).
Please refer to this post, it gives more information about the gains/ranges in general.
I would suggest putting in a product suggestion if you would like this feature. Those go into the decision making process for our R&D team, meaning they actually do look at them. If you wish, I can submit a suggestion internally was well for you, that way your suggestion gets 2x the exposure. Let me know if you want me to do this.
Neal M.Applications Engineering National Instruments www.ni.com/support -
Does the iPad mini have a setting so it can be used with either 120 or 240 electrical current? If yes, how do you go about setting the desired input voltage? I will travel to Northern Europe and want to know if I will need a voltage converter.
The iPad charger is dual voltage. You need only a plug adapter to be able to plug your US charger into a European wall outlet. A basic one costs about $2.00. - $6.00. Like this...
http://www.amazon.com/CVID-Grounded-European-Adapter-Adaptor/dp/B0098B5GN8/ -
If I take my MacBook Air to Italy from the US will I need a voltage converter?
If I take my MacBook Air to Italy from the US, will I need a voltage converter?
No. All you will need is a Plug Adaptor for the mains power outlets...
Line voltage: 100-240V AC
Frequency: 50Hz to 60Hz -
Both France and UK use 240 v and I have a US iPad and iPhone4. Can I just just the plug converter or do I need to use a voltage converter for both?
Thanks!No voltage conversion needed, just an adaptor for the plug, anywhere you go.
-
I converted from a PC to a Mac Mini. I have my PC documents backed up on a DVD disk. I have an external DVD drive connected to the Mac Mini. I want to open these documents up from the DVD storage and save them to the Mac, BUT....when I put the DVD disk in the Mac is NOT reading it!
Hi Joe,
Thanks for your quick response. I should add....it worked before. When I previously inserted the two DVDs into this remote drive, and I went into finder, I could click on the "remote device" line and see all my saved documents (excel, word, etc) on the DVD and open them on the Mac. Now I cannot see them, when I try to open them on the Mac, nothing happens, nothing is displayed. I just re-tested the remote DVD drive with a CD and, no problem, it opened up the CD via iTunes and I cold play the CD. SO......I know the remote DVD drive (it's an LG by the way) is fine, it's something to do with some settings on my mini mac,especially where I could open it previously. I do not remember changing any settings since then.
When I go into system preferences and click on CD/DVD it gives me options of how to open up a music CD (default is iTunes), a DVD (default is iMovie), etc. The problem is my DVD is all miscellaneious files/documents. I just want to be able to see them in the finder. I also tried to open them via microsoft word, from the remote disk and again, it could not open the drive, even though some of the documents were microsoft word documents. Again, I was able to open them previously and the DVD is not corrupted in any way.
Any additional advice?
Thank you! -
How did my stored files get converted from 'open with Adobe READER' to 'open with Adobe ACROBAT'? How can I get them re-set to open with 'Adobe Reader'?
Please reply to my e-mail: [email protected]It sounds as if you downloaded Adobe Acrobat Pro. If you did, uninstall it. Then repair Adobe Reader.
The free Acrobat account has no connection to any of this. -
Poor quality convertion from adobe reader to word
Good day,
I received a poor quality convertion from adobe reader to word.
Can I send the original to anybody for help or a better convertion.
Enjoy your day
Regards
Johan de BeerWithout context, my guess is that your question should go in the ExportPDF forum,
http://forums.adobe.com/community/exportpdf -
if I install dng converter version 8.3 so I can read raw files from my new sony a7 camera, will I still be able to read raw files from my canon 5d ?
Ok. That explains 8.3. I know some want to stay with 10.6 because they have software or hardware that won't work on anything later.
Gene -
Why did reader x stop allowing me to convert from word to pdf
How does a person get in contact with Adobe to cancel a membership as I don't need to pay for something that isn't working properly. Have checked for updates etc. Reader x is used for converting files to pdf's as I had rcvd. an answer from someone that you cannot create pdf files with reader, I have reader x and which I have used many times to create pdf's before.... after selecting a file the convert file is not highlighted as a choice.
Hi michaelf43898240,
I see that you have an active ExportPDF subscription, which allows you to convert PDF files to Word or Excel format (and you can convert PDF files to those formats via the free Adobe Reader when you have the subscription).
However, you were given accurate information: On its own Adobe Reader cannot convert files to PDF. You need an Adobe PDF Pack subscription to convert files *to* PDF from within Reader. Or, you can also use Adobe Acrobat to convert files to PDF.
Is it possible that you had an Acrobat 30-day trial, and were using that to convert files to PDF?
Best,
Sara -
Is Voltage Converter Necessary when charging iPhone 3GS in Amsterdam
I posted this question before and was told that all I needed to charge my iPhone in The Netherlands was a 2 prong plug converter (round pins) to convert my current plug to theirs. Apple sells a set for lots of countries, but I already have one for Netherlands. Discussions here said, just use the plug converter. Then I called Apple and they me that I also need to use a voltage converter in addition to the plug converter. I know USA voltage is 120 and Netherlands in 220 or 230. Will my phone burn out without a voltage converter? Apple says it might, yet they don't sell the voltage converters to go with the plugs they sell. They suggest Radio Shack, etc. What voltages will my iPhone handle? I don't want to buy another piece to carry over there if not needed. I keep getting different answers, even from Apple techs. Who knows for sure? Thanks for help.
look on the actual adapter itself and in very hard to read writing it will say the voltage range inputs of the charger.
Its not about what we say, its about what it says on your device. Our Euro/UK ones got from 1110 to 230 but thats means nothing as yours are whatever they say on the charger.
Buy a Euro standard charger at the airport on the arrivals side - probably only $10.
Maybe you are looking for
-
I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update wit
-
Problem in WEB-UI field (Not Bound)
Hi Experts, I am new to CRM Technical, I have added new standard field (Date Of Birth) thourgh component work bench 'BSP_WD_CMPWB' in 'Z_IC_AGENT' business role. after execution this business roles i could able to see this DOB field but its showi
-
How do I add a contact on my imessage
How do I add a contact on my iMessage?
-
Problem with Exporting crystal report to Excel
Hi ! I am new to crystal world. I have an application which has csp code. From the csp code (internal website) we invoke crystal using viewer.cwr to view or export reports. Last week we upgraded from Crystal 10 to Crystal Reports XI Release 2. Due to
-
Can someone please tell me how I can get find out the code on my iTunes card. Only half of the number is on my new card and I can't read it. Thank you.