Machine beeping with smart card inserted

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
sionghua
Posts: 49
Joined: Tue Aug 07, 2007 7:31 pm

Machine beeping with smart card inserted

Post by sionghua » Wed Feb 20, 2008 4:54 pm

Everything has been fine until I tried to download data from the smartcard to Respironics EncorePro 1.8.49, the data download stopped half way showing error

Image

I can save the data on the smartcard by using mycpap but when trying to format it I get the following error

Image

The full text of the details is
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
PCRM.SmartCard.PcSc.SCardException: Error in the application.
at PCRM.SmartCard.PcSc.SCardException.RaiseWin32ResponseCode(UInt32 rc)
at PCRM.SmartCard.PcSc.SCardComm.Transmit(Byte[] vbSendBuffer, Byte[]& vbRecvBuffer)
at SmartCardControl.SmartCardControlForm.4AAAA(Object 0AAAA, EventArgs 1AAAA)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SmartCardControl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/MyCPAP/CardUtility.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

And when I insert the card into the machine, the machine is beeping and the lights flashing, used to be just fine before I try to download the data.


User avatar
GumbyCT
Posts: 5778
Joined: Fri Sep 14, 2007 6:22 pm
Location: CT
Contact:

Post by GumbyCT » Wed Feb 20, 2008 5:14 pm

The card file has been corrupted - likely caused by removing it from the reader or machine when it was reading/writing to it. I never remove my card from the reader when the green lite is on - you have to close your reports for it to go off.

Make sure Encore is closed when you are trying to format it with MyCPAP Card utility - try it again.

Format the card then put it back in the machine Happiness

Post back to let us know how you made out.

Good Luck,
GumbyCT

_________________
Humidifier: HC150 Heated Humidifier With Hose, 2 Chambers and Stand
Additional Comments: New users can't remember they can't remember YET!
BeganCPAP31Jan2007;AHI<0.5
I have no doubt, how I sleep affects every waking moment.
I am making progress-NOW I remember that I can't remember
;)
If this isn’t rocket science why are there so many spaceshots?
Be your own healthcare advocate!

User avatar
Perchancetodream
Posts: 434
Joined: Mon Aug 13, 2007 7:41 pm
Location: 29 Palms, CA

Post by Perchancetodream » Wed Feb 20, 2008 7:39 pm

I can't speak to the software problems, but when my machine starts beeping and the lights start flashing I have to unplug the power to the machine and restart it in order to stop the alarm.

Just like I have no idea why this turns off the alarm and makes the corrupted card acceptable, I have no idea why the alarm sounds and the lights flash.

Susan

"If space is really a vacuum, who changes the bag?" George Carlin

User avatar
Wulfman
Posts: 12317
Joined: Thu Jul 07, 2005 3:43 pm
Location: Nearest fishing spot

Post by Wulfman » Wed Feb 20, 2008 8:01 pm

If you go up to the Search function and do a search on "8004020F", you will get four threads where this problem is discussed.

Good luck.

Den
(5) REMstar Autos w/C-Flex & (6) REMstar Pro 2 CPAPs w/C-Flex - Pressure Setting = 14 cm.
"Passover" Humidification - ResMed Ultra Mirage FF - Encore Pro w/Card Reader & MyEncore software - Chiroflow pillow
User since 05/14/05

sionghua
Posts: 49
Joined: Tue Aug 07, 2007 7:31 pm

Post by sionghua » Wed Feb 20, 2008 8:36 pm

Thanks Wulfman, I have also got this reply from Phil Gillam, who wrote MyCpap
Hi There,

The card reader needs to be connected directly to a usb 2.0 port on the pc,
it will not work on a usb hub or usb 1 due to voltage requirements during a
format or write operation.

Regards
Phil
Tried and it solved my problem. Thanks.

User avatar
Wulfman
Posts: 12317
Joined: Thu Jul 07, 2005 3:43 pm
Location: Nearest fishing spot

Post by Wulfman » Wed Feb 20, 2008 8:44 pm

I wondered if that might be your problem.

Den
(5) REMstar Autos w/C-Flex & (6) REMstar Pro 2 CPAPs w/C-Flex - Pressure Setting = 14 cm.
"Passover" Humidification - ResMed Ultra Mirage FF - Encore Pro w/Card Reader & MyEncore software - Chiroflow pillow
User since 05/14/05

User avatar
dsm
Posts: 6996
Joined: Mon Jun 20, 2005 6:53 am
Location: Near the coast.

Post by dsm » Wed Feb 20, 2008 9:44 pm

Yup,

My 1st thought was - reformat the card using Encore Pro - & also don't do it unless the reader is directly connected to a USB 2.0 port.

Good luck

DSM

xPAP and Quattro std mask (plus a pad-a-cheek anti-leak strap)