Bit manipulati​on
Hey everyone,
I am trying to use labview to make my own bitmap files but I need to be
able to control values of BIT of information. Does anyone know what datatype
I need to see the value of every BIT?
Many thanks in advance,
--FRH
> You can convert a number to a Boolean array, in which each element
> represents one bit, and you can convert a Boolean array to a number, so you
> can manipulate in both directions. The individual Boolean is the closest to
> what you'd call a "bit" datatype. The functions are in the "Boolean" section
> of the standard function palette. A more detailed response needs a more
> detailed question.
>
> As a matter of curiosity to anyone else reading this, a single 32 bit wide
> memory access can return a U32 for a given operation. If that U32 is
> converted to a Boolean array, does it then require 32 memory accesses to
> perform the same operation on it?
This approach will work quite well, but anothr approach is to simply leave
the data in numerics and AND/OR o
r with whatever bit pattern you are trying
to manipulate. This may seem more complicated, but it will end up using less
memory and take less time, if that is important. Also, lots of people don't
know that the Boolean operations will also work on integers, N bits at a time.
To answer the next question, a 32 bit number will be converted into 32 Booleans.
In LV5 and greater, that will be stored in 32 bytes. If you need to
copy the
Boolean array, then that will happen multiple element at a time, but most
logical operations will happen one byte, one Boolean at a time. When converted
back into a numeric, 32 adjacent Booleans will be recombined to form a number.
Less bits for different numeric types.
The Boolean arrays before LV5 were actually packed together into words, taking
less memory, but more processing to manipulate.
Greg McKaskle
Similar Messages
-
Bit Manipulati​on in LV Realtime
There don't appear to be any bit manipulation functions in LV. I just need some pretty simple tasks such as setting/clearing a particular bit in an integer. Although these functions are available in Mathscript, apparently Mathscript won't run on a realtime target. I've written my own function to perform this but it takes a lot more code than I would like to see (not that a LV function would necessarily be less code).
Suggestions/algorithms appreciated.Just use the AND function (from the boolean palette) to clear a bit (set all bits to 1 except the one you want to clear).
To set a bit, use the OR function with all zeros except the bit you want to set.
For example, if your data type is U8 and you want to set bit 5, wire the U8 and a 00001000 constant (U8 in binary notation) to an OR function.
Hope this helps,
Daniel
Message Edited by dan_u on 03-21-2007 07:21 PM -
Manipulate designs in 12 bit & 24 bit?
How to work with 12 bit & 24 bit in photoshop windows...? Thank in advance for your technical support..
There is no way to directly manipulate images at "odd" bit-depths in PS. Any such files would be processed at the next highest bit-depth and then quantized down/ converted by whatever loaders and savers are involved, e.gf. for DDS game textures. Also depends on what color space is involved and may in fact require to set up specific color profiles to get correct conversion in some cases...
Mylenium -
What is difference between 32 bit and 64 bit sql server memory management
What is difference between 32 bit and 64 bit sql server memory management
Thanks
ShashikalaThis is the basic difference...check if helps:
A 32-bit CPU running 32-bit software (also known as the x86 platform) is so named because it is based on an architecture that can manipulate values that are up to 32 bits in length. This means that a 32-bit memory pointer can store a value between 0 and
4,294,967,295 to reference a memory address. This equates to a maximum addressable space of 4GB on 32-bit platforms
On the other hand 64-bit limit of 18,446,744,073,709,551,616, this number is so large that in memory/storage terminology it equates to 16 exabytes. You don’t come across that term very often, so to help understand the scale, here is the value converted to
more commonly used measurements: 16 exabytes = 16,777,216 petabytes (16 million PB)➤ 17,179,869,184 terabytes (17 billion TB)➤ 17,592,186,044,416 gigabytes (17 trillion GB)➤
As you can see, it is significantly larger than the 4GB virtual address space usable in 32-bit systems; it’s so large in fact that any hardware capable of using it all is sadly restricted to the realm of science fiction. Because of this, processor manufacturers
decided to only implement a 44-bit address bus, which provides a virtual address space on 64-bit systems of 16TB. This was regarded as being more than enough address space for the foreseeable future and logically it’s split into an 8TB range for user mode
and 8TB for kernel mode. Each 64-bit process running on an x64 platform will be able to address up to 8TB of VAS.
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
I have a custom built Java 6 application that doesn't like Photoshop CS5 64 bit edition. The program copies over a file from the network to the local machine and then opens it in Photoshop. The user manipulates the image and saves the changes. The user then completes the image and the application copies the image back to the server. The problem we're having is: When we use Photoshop CS5 64-bit, it takes about 2 minutes for Photoshop to open the image. The file is copied over within 2 seconds and the Photoshop icon on the windows taskbar starts flashing. But then you spend a few minutes waiting for it to open.
Some things that I have tried to isolate the problem:
- I found you can copy the file somewhere else, double click on it and the image will open in Photoshop before the script is able to open the file.
- I tried uninstalling Photoshop and reinstalling just the 64 bit edition without the 32 bit installation. The script just stops working in this situation.
- I tried uninstalling CS5 and installing CS3. The image opens as soon as the file is copied over.
What I would like to try next is to install just the CS5 32 bit version. But the installer is being uncooperative and will only allow either the 64 bit version or both the 64 and 32 bit versions. So, back to my question: Is there a way to install just the 32 bit version of Photoshop CS5 on a Windows 7 64 bit machine?Do you mean schroot? If so I'm not sure exactly how well that will work out, because the part that depends on python is a deamon that handles communication between the USB dongle and the Tux Droid which may mean hacking the deamon a bit so ether way this does not seem like it will be a easy task.
-
How do I set up my timer/clock for a 17 bit synchronous encoder?
I am trying to get an output from a 17 bit Gray Code encoder. I need the position output for other projects.
Here is a list of equipment being used:
PCIe 6361
CP-850-17S-GC-CW encoder from Allied Motion
SCB-68
I am trying a 3 wire connection.
Clock + to PFI 12
Data + to AI 0
NSL - to +5 V
NSL+ to AI Gnd
Data - to AI Gnd
Clock - to D Gnd
I have used MAX to build clocking to the PFI 12 and can see the clocking. This is also what is coming out of my encoder. It does not apperar to synch up using continuos clocking.
I have tried to build a VI and use DAQmx with the same results.
When I tried to run N samples using 17 bits with a clock at 100KHz and an initial delay the signals, using an osciliscope, appear to be correct except that it does not change with the rotation of the encoder. The output of the encoder still appears to be the clock signal.
I have used other programs and they give the angle fine.
It may be I need to add something else and or set this up in sequence. If anyone can direct me to documentation I would greatly appreciate it.
I have added the documentation, from the website, for the CP850 17S GC encoder. This has the timing information.
Attachments:
CP-800-900_Specifications_R1a(scrn).pdf 216 KBHi msmith
You are using a PCIe-6361, you could use that card also to acquire the same signals that you are generating. First you need to check that you are generating the signals as that encoder require, with the same PCI you can verify that. Then if you are generating the signals correctly, the enconder should has an output as shown in the graph in the datasheet, if not there is a problem in that enconder.
*Other detail, I am not sure in this case but in other cases that I remember with other encoders, there is necesary to change the NSL from 1 to 0 for each value. You can try also to manipulate that input from the PCI-card.
Regards -
ITunes 7.6 and Windows XP Pro x64 ---- 64 bit version of Windows XP Pro
My wife was given an iPod nano, so I downloaded the current version of iTunesSetup.exe from www.apple.com and tried to run the executable. It told me that it wasn't designed to install iTunes on my 64 bit version of Windows XP Pro, and that I should go back to www.apple.com and download the 64 bit installer. I went back to www.apple.com and searched for the 64 bit installer in vain. There is only one main link to the current installer and the website determines which version of the installer you're given. After a few google searches I managed to aquire iTunes64setup.exe from the Apple site. I ran the executable and it told me "This iTunes installer requires that your computer is running Windows Vista 64-bit" and then it gave me the option to exit. I ended up installing iTunes from the executable I had originally downloaded. I have iTunes 7.6.2.9 installed now but it doesn't detect, or can't operate my DVD burner, so I can't rip music with iTunes for use on my wife's nano. I get this error report when I run the Diagnostic test built into iTunes.
"Microsoft Windows XP Professional x64 Edition Service Pack 2 (Build 3790)
System manufacturer System Product Name
iTunes 7.6.2.9
QuickTime 7.4.5
CD Driver Not Available
CD Driver DLL Not Available
Bonjour 1.0.4.12 (118.4)
iTunes Serial Number xxxxxxxxxxxxxxxx
Current user is an administrator.
The current local date and time is 2008-04-30 23:34:07.
iTunes is not running in safe mode.
Video Display Information
Standard VGA Graphics Adapter
NVIDIA GeForce 8800 GT
** External Plug-ins Information **
No external plug-ins installed.
** CD/DVD Drive Tests **
LowerFilters: Afc
Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the "Add or Remove Programs" control panel.
Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the "Add or Remove Programs" control panel."
And there was no change in the diagnostic when I first tried to repair the install and then tried to reinstall iTunes. I'm sure the burner is working because I can play music, watch movies and all the normal stuff a DVD burner can do using Nero.
I'm guessing I need an iTunes version of 64 bit optical drive driver.
Any help would be appreciated!
Cinder's
<Edited by Moderator>I got the iTunes 7 to work on XP Pro 64bit. What I did was this:
1. Downloaded DriverInstaller_AMD64EM64T.exe
2. Installed it.
3. Created this file tree: C:\Windows\Sysnative\drivers (Easier terminology, I went into the Windows folder and created a folder named "sysnative", opened that folder and created another folder called "drivers".
4. Then I located the folder where I installed DriverInstaller_AMD64EM64T.exe ..
5. I took the file called GEARAspiWDM and COPIED IT. I DID NOT MOVE THIS FILE!!!
6. I pasted a COPY of this file into sysnative\drivers. The folder I just made.
7. I installed iTunes 7, not 7.6. 7.6 and this method won't solve the burning issue. That would require more programs and more patients.
Note, you will have to manipulate iTunes when you want to burn. The best way to do this, I found, was to simply make a playlist and right click the playlist on the left column and select burn to disk. It should act normally.
Message was edited by: Nexis -
Hi
I have been using Adobe CC for a month or two now. I own an Asus laptop with Intel i7 (2.4 GHz), 6 GB RAM, 1 TB hard disk space and 64 bit, nearly 6 months old. Following apps are currently installed: Photoshop, Illustrator, InDesign, Audition, Acrobat XI Pro, Premiere Pro and Media Encoder. I recently performed an update through Adobe CC for Photoshop and Illustrator, all others are up-to-date.
I believe, but I may be wrong, that since this update Photoshop is acting weird on my laptop. When I start Photoshop, my task manager immediately indicates a 100% rate of my disk usage. This seems to wield off after it is fully operational, but when I start to edit a file, the disk usage immediately jumps back to 100%, while the CPU remains below 10%, RAM stays at 3.5-3.8 GB (only 60% of total capacity) and even the actual read and write speeds of my HDD are not particularly high (5 - 10MB max). And because of the 100% disk usage, Photoshop freezes in an instant and operating it is nearly impossible.
I already uninstalled Photoshop, went over all services and **** that could trigger this within Windows 8.1 (Google-search for: Windows 8.1 disk usage 100%) , re-installed Photoshop and I still have the same problem.
So, I was wondering if there might be a solution to this problem or if anybody else is having this problem as well?
Thanks in advance!
UPDATE: This error applies only when I try to manipulate, add, edit or remove text. All other functions (not related to text) seem to work properly.No, I don't know much about that, but I found a couple links for you..
"service host: Local system (network restricted)(11)" eating virtual memory
http://www.reddit.com/r/techsupport/comments/1b496x/windows_8_high_disk_usage_usually_arou nd_100_and/ -
Hi Folks,
I have installed the SOA 11g (11.1.1.5.0) along with other required softwares but when I am trying to start the weblogic server <domain>\bin\startWebLogic.cmd from with domain, it is throwing the out-of-memory exceptions as,
<May 21, 2011 3:04:51 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
d logic, because error occurs when parsing sip related annotations of "integrati
on/worklistapp"
com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
ationData.java:146)
at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
entUtil.java:70)
at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
6)
at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
ilModule.java:127)
at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
pServerTailModule.java:112)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
ssLoader.java:343)
Truncated. see log file for complete stacktrace
>
Warning: Starting ADF Library jar post-deployment on WebLogic Server. Is "provid
er-lazy-inited" init-param missing from LibraryFilter? Ignore this warning if th
e ADFJspResourceProvider is not being used.
Started: ADF Library non-ADFJspResourceProvider post-deployment
Finished: ADF Library non-ADFJspResourceProvider post-deployment (millis): 78
<May 21, 2011 3:05:06 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
d logic, because error occurs when parsing sip related annotations of "workflow/
DefaultToDoTaskFlow"
com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
ationData.java:146)
at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
entUtil.java:70)
at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
6)
at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
ilModule.java:127)
at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
pServerTailModule.java:112)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.getMethods(Class.java:1410)
at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.classAnnotation
Parsing(SipAnnotationData.java:335)
Truncated. see log file for complete stacktrace
>
<May 21, 2011 3:05:24 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
er com.sun.faces.config.ConfigureListener failed: java.lang.OutOfMemoryError: Pe
rmGen space.
java.lang.OutOfMemoryError: PermGen space
>
I tried to manipulate the JVM memory setting in the setSOADomainEnv.cmd file but no luck. Currently, the setting are:
set JAVA_OPTIONS=%JAVA_OPTIONS%
set DEFAULT_MEM_ARGS=-Xms256m -Xmx512m
set PORT_MEM_ARGS=-Xms128m -Xmx256m -XX:CompileThreshold=8000
if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=256m
Again, I am not sure what are the right setting for running SOA on weblogic in Windows 7 64 bit O/S.
Any help is really appreciated.
-NJHi All,
In continuation to my last post, I modified the memory setting as under,
set JAVA_OPTIONS=%JAVA_OPTIONS%
set DEFAULT_MEM_ARGS=-Xms256m -Xmx512m
set PORT_MEM_ARGS=-Xms512m -Xmx768m -XX:CompileThreshold=8000
if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
This allowed the server starting process to move a little further but again encountered with an error as under,
Loading Preference Migrators...Ok
********* WorkSpace was initialized successfully *********
Warning: Starting ADF Library jar post-deployment on WebLogic Server. Is "provid
er-lazy-inited" init-param missing from LibraryFilter? Ignore this warning if th
e ADFJspResourceProvider is not being used.
Started: ADF Library non-ADFJspResourceProvider post-deployment
Finished: ADF Library non-ADFJspResourceProvider post-deployment (millis): 124
<May 21, 2011 3:55:30 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
d logic, because error occurs when parsing sip related annotations of "bpm/compo
ser"
com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
ationData.java:146)
at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
entUtil.java:70)
at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
6)
at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
ilModule.java:127)
at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
pServerTailModule.java:112)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
ssLoader.java:343)
Truncated. see log file for complete stacktrace
>
<May 21, 2011 3:55:33 PM CDT> <Warning> <oracle.adf.share.ADFContext> <BEA-00000
0> <Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initializati
on is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent
To see the stack trace for thread that is initializing this, set the logging lev
el of oracle.adf.share.ADFContext to FINEST>
Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
ing)',5,Pooled Threads]: CompressionFilter: Using debug = (0)
<May 21, 2011 3:55:52 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
d logic, because error occurs when parsing sip related annotations of "SimpleApp
rovalTaskFlow"
com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
ationData.java:146)
at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
entUtil.java:70)
at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
6)
at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
ilModule.java:127)
at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
pServerTailModule.java:112)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
ssLoader.java:343)
Truncated. see log file for complete stacktrace
>
<May 21, 2011 3:55:58 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
er com.sun.faces.config.ConfigureListener failed: java.lang.OutOfMemoryError: Pe
rmGen space.
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
ssLoader.java:343)
Truncated. see log file for complete stacktrace
>
<May 21, 2011 3:56:48 PM CDT> <Warning> <J2EE> <BEA-160181> <An error was encoun
tered and ignored during undeployment. The error was: weblogic.utils.ErrorCollec
tionException:
There are 2 nested errors:
java.lang.OutOfMemoryError: PermGen space
and
java.lang.OutOfMemoryError: PermGen space
weblogic.utils.ErrorCollectionException:
There are 2 nested errors:
java.lang.OutOfMemoryError: PermGen space
and
java.lang.OutOfMemoryError: PermGen space
at weblogic.application.utils.StateMachineDriver.previousState(StateMach
ineDriver.java:227)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:63)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.ja
va:58)
at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
entStateChecker.java:161)
Truncated. see log file for complete stacktrace
>
<May 21, 2011 3:57:09 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
d logic, because error occurs when parsing sip related annotations of "em"
com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
ationData.java:146)
at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
entUtil.java:70)
at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
6)
at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
ilModule.java:127)
at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
pServerTailModule.java:112)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
>
<May 21, 2011 3:57:30 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
er org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl failed: java.
lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
>
<May 21, 2011 3:57:35 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
er com.sun.faces.config.ConfigureListener failed: java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureList
ener.java:241)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run
(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
120)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(E
ventsManager.java:200)
Truncated. see log file for complete stacktrace
>
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da442db, pid=6876, tid=5792
[thread 6508 also had an error]
# JRE version: 6.0_24-b50
# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
# Problematic frame:
# V [jvm.dll+0x1a42db]
# An error report file with more information is saved as:
# D:\Oracle\ofmw11gv5\mw\user_projects\domains\ofmw_domain1\hs_err_pid6876.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
Thanks in advance!
NJ -
Hi,
I'm not too familiar with bit shifting. If anyone can help with this problem, it would be great!
We have words that are 32 bits. So, basically, the lower 8 bits should have value �1� and the upper 24 bits should have value �X�. For our example, lets say 5. How do you manipulate integers to get this format? So, I assume it will look like below.
31 87 0
00000000010100000001int i = 0x12345678;
byte highOrder = (byte)(i >> 24);
byte second = (byte)(i >> 16);
byte third = (byte)(i >> 8);
byte lowOrder = (byte)i; -
Can you manipulate music on a keynote ppt?
can you manipulate music on a keynote ppt?
you need to give a bit more information as your post is confusing
Keynote is a presentation application from Apple
ppt is the file type suffix for PowerPoint from Microsoft
Keynote is not a Powerpoint show
Keynote can be converted to Powerpoint
Powerpoint can be converted to Keynote
The following are the only things that can alter how the sound is played in Keynote:
delay start
loop
alter volume -
The company I work for recently took over tech support for a SCADA PC that has Lookout 6.1. Our customer is a small town's Utilities department.
A new pumphouse communicates back to the Public Utilities SCADA PC using radio ethernet. We've found that when setting command bits (Ack alarms, Reset alarms, disable/enable alarms, manual/auto mode change) the radio transmission introduces a delay factor. However, when clicking a pushbutton object to set a bit, Lookout resets the bit almost immediately and long before the remote pumphouse PLC receives the command.
I've looked at and tried the .snapdelay option, set the pushbuttons to latch their outputs, and examined the Lookout.ini settings but have not achieved the desired result. I want to set a bit high with a pushbutton, and leave it high until (optonally) logic in the PLC resets it back to zero. The opposite action would also be desireable, set and stick 0 from a 1 state. In this way, the action would be like a true toggle.
I want Lookout to just get out of the way and not manipulate the output at all: accept the set bit and leave it alone completely. I checked the sample applications, NI website knowledge base and discussion groups, but nothing comes close to explaining how to set and leave a bit in Lookout. Flip-flop objects, one-shot objects and the .snapdelay feature are not suitable to this purpose. Why does Lookout not contain a simple toggle capability?
Can anyone please advise me of a method that will provide what I need?
pb-edmThank you for the suggestion.
The radio delay I'm working with is about 2 to 5 seconds, sometimes a little longer.
I was at the customer's site earlier this week and tried several things. Almost nothing worked. I noticed a while ago that a SnapDelay of 0 does NOT disable it on any of the pushbutton objects I created in the app.
I did see in the Lookout Readme Notes file that the unwanted snapback behavior when using remote connections has been a "feature" since version 6.0. The readme contains several possible workarounds, none of which work (as mentioned in my original post).
A set of configurations I found in another application worked for half the objects I newly created, and did not work for the other half -- about 15 objects in total, all pushbuttons. In the pushbutton object properties, I set connections for .enable, .resetvalue and .value to the remote PLC address. When the pushbutton object is clicked, the desired value is forced continuously until a change of state is registered in the PLC. But like I said, it only works about half the time.
Obviously this IS a bug. I'm hoping Lookout pulls up its socks and issues a patch. We don't have ours/our customer's time to waste on something that is accomplished without a second thought in other products.
-pb-edm -
Want to manipulate the ref cursor
Hi,
iam having a procedure whiuch returns a ref cursor as a output parameter having 20 columns.
i had to manipulate only 2 columns in that ref cursor output in another calling procedure.
iam getting an error when iam fetching the ref cursor result into only 2 variables.
How can i achieve this ?Why?
Let's see it ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.18
satyaki>
satyaki>create or replace procedure r_gen_arg(
2 choice in number,
3 b in out sys_refcursor
4 )
5 is
6 str varchar2(500);
7 begin
8 if choice = 1 then
9 str := 'select * from emp';
10 elsif choice = 2 then
11 str := 'select * from dept';
12 end if;
13
14 open b for str;
15 exception
16 when others then
17 dbms_output.put_line(sqlerrm);
18 end;
19 /
Procedure created.
Elapsed: 00:00:04.51
satyaki>
satyaki>
satyaki>declare
2 rec_x emp%rowtype;
3 rec_y dept%rowtype;
4 w sys_refcursor;
5 begin
6 dbms_output.enable(1000000);
7 r_gen_arg(1,w);
8 loop
9 fetch w into rec_x;
10 exit when w%notfound;
11 dbms_output.put_line('Employee No: '||rec_x.empno||' - '||
12 'Name: '||rec_x.ename||' - '||
13 'Job: '||rec_x.job||' - '||
14 'Manager: '||rec_x.mgr||' - '||
15 'Joining Date: '||rec_x.hiredate||' - '||
16 'Salary: '||rec_x.sal||' - '||
17 'Commission: '||rec_x.comm||' - '||
18 'Department No: '||rec_x.deptno);
19 end loop;
20 close w;
21
22 r_gen_arg(2,w);
23 loop
24 fetch w into rec_y;
25 exit when w%notfound;
26 dbms_output.put_line('Department No: '||rec_y.deptno||' - '||
27 'Name: '||rec_y.dname||' - '||
28 'Location: '||rec_y.loc);
29 end loop;
30 close w;
31 exception
32 when others then
33 dbms_output.put_line(sqlerrm);
34 end;
35 /
Employee No: 9999 - Name: SATYAKI - Job: SLS - Manager: 7698 - Joining Date: 02-NOV-08 - Salary: 55000 - Commission: 3455 - Department No: 10
Employee No: 7777 - Name: SOURAV - Job: SLS - Manager: - Joining Date: 14-SEP-08 - Salary: 45000 - Commission: 3400 - Department No: 10
Employee No: 7521 - Name: WARD - Job: SALESMAN - Manager: 7698 - Joining Date: 22-FEB-81 - Salary: 1250 - Commission: 500 - Department No: 30
Employee No: 7566 - Name: JONES - Job: MANAGER - Manager: 7839 - Joining Date: 02-APR-81 - Salary: 2975 - Commission: - Department No: 20
Employee No: 7654 - Name: MARTIN - Job: SALESMAN - Manager: 7698 - Joining Date: 28-SEP-81 - Salary: 1250 - Commission: 1400 - Department No: 30
Employee No: 7698 - Name: BLAKE - Job: MANAGER - Manager: 7839 - Joining Date: 01-MAY-81 - Salary: 2850 - Commission: - Department No: 30
Employee No: 7782 - Name: CLARK - Job: MANAGER - Manager: 7839 - Joining Date: 09-JUN-81 - Salary: 4450 - Commission: - Department No: 10
Employee No: 7788 - Name: SCOTT - Job: ANALYST - Manager: 7566 - Joining Date: 19-APR-87 - Salary: 3000 - Commission: - Department No: 20
Employee No: 7839 - Name: KING - Job: PRESIDENT - Manager: - Joining Date: 17-NOV-81 - Salary: 7000 - Commission: - Department No: 10
Employee No: 7844 - Name: TURNER - Job: SALESMAN - Manager: 7698 - Joining Date: 08-SEP-81 - Salary: 1500 - Commission: 0 - Department No: 30
Employee No: 7876 - Name: ADAMS - Job: CLERK - Manager: 7788 - Joining Date: 23-MAY-87 - Salary: 1100 - Commission: - Department No: 20
Employee No: 7900 - Name: JAMES - Job: CLERK - Manager: 7698 - Joining Date: 03-DEC-81 - Salary: 950 - Commission: - Department No: 30
Employee No: 7902 - Name: FORD - Job: ANALYST - Manager: 7566 - Joining Date: 03-DEC-81 - Salary: 3000 - Commission: - Department No: 20
Department No: 10 - Name: ACCOUNTING - Location: NEW YORK
Department No: 20 - Name: RESEARCH - Location: DALLAS
Department No: 30 - Name: SALES - Location: CHICAGO
Department No: 40 - Name: LOGISTICS - Location: CHICAGO
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.85
satyaki>
satyaki>Here, i don't have to use separate variable to hold those required value.
Regards.
Satyaki De. -
In our company code, we have a tax code, that has 2 tax percent.rates:
Goods/services tax VST 7,000 160 100 GST
Provincial Sales Tax VST 8,025 170 100 PST
These have to be calculated on the same base amount.
E.g.
Payable line item:
amount: 1890
G/L line item:
amount: 1260,59
Tax line item 1:
amount: 115.02 (=7%)(base amount = 1260,59)
Tax line item 2:
amount: 361.45 (=8%)(base amount = 1260,59)
This has to create 2 lines in the BSET table!
When we create an invoice online (fb60), this works perfectly. When I do it via the BAPI ACC_DOCUMENT_POST it's only one line item!
The BAPI somewhat counts up the tax two amounts that I give up in the BAPI (7% amount and 8% amount are counted togehter), only one line is created.
What it needs to do is create two line items for this tax code, with on each line item: the same base amount, the respectively percentage and calculated amount
Anyone any idea how I can manipulate this somehow?
BSET table:
Invoice created online (ideal situation):
line item 1, Base amount: 1643.12, Tax amount: 115.02
line item 2, base amount: 1643.12, tax amount: 131.86
Invoice created via BAPI (wrong situation):
line item 1, Base amount: 3286.24, Tax amount: 246.88
(3286.24 = 1643.12 x 2, 246.88 = 115.02 + 131.86)
Thanks!Hi,
RFBIBL00 program can be used as standard ABAP report program which reads the external file (eg .TXT). But format of TXT file is bit tricky. (see below)
This Report will convert the data and will generate a Batch Session which you have to execute using TCode sm35.
File format ..
Row 0: Value "0"
Row 1: Header (Choose the desired columns from BBKPF structure)
Row 2: Detail line item 1 (Choose the desired columns from BBSEG structure)
Row 3: Detail Tax Item 1(Choose the desired columns from BBSEG structure)
and so on repeating the header and detail/tax line item for each invoice (Row 1, 2, 3). Note Row 0 will appear only once.
Hope this helps your TAX update
Regards,
Rohit -
How to manipulate data in Diadem
Hello everybody,
I have been working on a project and faced a problem which I was actually not expecting. I am doing some counter operation of several sensor data for measuring the rotational speed of a shaft and returning the values into an array of 4 columns with different lengths. I am doing this on Labview.
What I have to do is to display the speed vs time curves on Diadem (4 curves on the same plot). I am able to save the array to a file on Labview. You may see the example data I am exporting as a file in the attachments. It's a text file. The first 4 values represent the time steps between the data values and will be used to plot the time axis.
As you see, Diadem has to construct a time axis by using this data and plot the actual data versus this one. Is it possible to do that automatically? Is it possible to write a code or something similar in Diadem for creating array from the file read and manipulate this array? In addition, the zeros at the end of the columns should be eliminated since all the columns are not of equal length.
I would be really really grateful if you could show me some directions.
Cihan Akdogan
Attachments:
data.txt 2 KBHello Caroline,
I would really be grateful if you could help me about that. Ok, the situation has changed a little bit since I progressed on the project (a bit of course). I am pasting the VI where I am doing the counting operation. I also implemented some blocks to communicate with DIADEM. They are more or less working.
I am saving the data as a TDM file. Inside this file I have 4 channels. 1st and 3rd channels are the values for the x-axis, whereas 2nd and 4th channels are the values for the y-axis. All I want to do is to plot these two curves on the sama graph. I even succeeded to automatically open a preprepared layout for the graph, however I could not manage to assign the channels to the axes and make the plot I was trying to construct a script for that, but the scipt is not recording the operations I make manually for this. I don't understand why...
I am also sending a text file where I copied and pasted the channels.
I am posting three messages to be able to attach three files.
Thank you again for your concern. I am eagerly waiting for your solution.
Cihan
Attachments:
project.vi 494 KB
Maybe you are looking for
-
Cannot open a PDF form in Adobe Reader 7
Hello I have developed a form in Adobe LiveCycle Designer 8. The form has java script embedded in it to do validations. The form has Usage Rights enabled and works well versions 8 and 9. However, when I open the form in Adobe Reader 7, I am getting a
-
Scheduling Jar files to execute
Hey Everyone! Help Please! Im needing to schedule one of my jar files to execute late at night,when no one is around! The jar file works perfectly, but when scheduled does not run,I have tried using various schedulers and none of them execute the jar
-
Reversal of goods movt in IS -Retail on Invoice cancellation in AFS
We are looking to reverse goods mvt in IS -Retail (GIT-101mvt type) on Invoice cancellation in AFS Can someone help? Regards Pratiksha Gangatirkar
-
Where is user name and password stored for database adapter
dear all, does any body know where is the password stored in database adapters. I noticed it mentioned in wsdl file in encrypted format, but is there any other place it stored. a ) before deployment b) aftre deployment . Thanks in advance . Regards A
-
Dear Gurus... I have some problem with chart in WAD. I dont know whether this is a bug in WAD 7.0 or I dont know how to do it :P. The problem is like this. I have query where row item is gross revenue and coloumn is [fiscal year/period] where I place